comanage-dev - [comanage-dev] r404 - registry/trunk/app/View/CoPersonRoles
Subject: COmanage Developers List
List archive
- From:
- To:
- Subject: [comanage-dev] r404 - registry/trunk/app/View/CoPersonRoles
- Date: Thu, 27 Dec 2012 22:24:06 -0500
Author: benno
Date: 2012-12-27 22:24:06 -0500 (Thu, 27 Dec 2012)
New Revision: 404
Modified:
registry/trunk/app/View/CoPersonRoles/fields.inc
Log:
Check for undefined var in CoPersonRoles/fields.inc
Modified: registry/trunk/app/View/CoPersonRoles/fields.inc
===================================================================
--- registry/trunk/app/View/CoPersonRoles/fields.inc 2012-12-18 01:47:51
UTC (rev 403)
+++ registry/trunk/app/View/CoPersonRoles/fields.inc 2012-12-28 03:24:06
UTC (rev 404)
@@ -190,7 +190,10 @@
?>
</td>
<td>
- <?php echo (($e && !$es) ?
$this->Form->select('sponsor_co_person_id', $sponsors) :
Sanitize::html($sponsors[
$co_person_roles[0]['CoPersonRole']['sponsor_co_person_id'] ]));
+ <?php
+ if(isset($sponsors) &&
isset($co_person_roles[0]['CoPersonRole']['sponsor_co_person_id'])) {
+ print (($e && !$es) ?
$this->Form->select('sponsor_co_person_id', $sponsors) :
Sanitize::html($sponsors[
$co_person_roles[0]['CoPersonRole']['sponsor_co_person_id'] ]));
+ }
?>
</td>
</tr>
- [comanage-dev] r404 - registry/trunk/app/View/CoPersonRoles, svnlog, 12/27/2012
Archive powered by MHonArc 2.6.16.