comanage-dev - [comanage-dev] r590 - registry/trunk/app/View/CoPeople
Subject: COmanage Developers List
List archive
- From:
- To:
- Subject: [comanage-dev] r590 - registry/trunk/app/View/CoPeople
- Date: Thu, 12 Sep 2013 07:42:30 -0400
Author: benno
Date: 2013-09-12 07:42:30 -0400 (Thu, 12 Sep 2013)
New Revision: 590
Modified:
registry/trunk/app/View/CoPeople/fields.inc
Log:
Additional fix for CO-115
Modified: registry/trunk/app/View/CoPeople/fields.inc
===================================================================
--- registry/trunk/app/View/CoPeople/fields.inc 2013-09-11 20:58:37 UTC (rev
589)
+++ registry/trunk/app/View/CoPeople/fields.inc 2013-09-12 11:42:30 UTC (rev
590)
@@ -349,10 +349,21 @@
print $this->Form->error('Name.language');
}
} else {
- print _txt('en.language', null,
$co_people[0]['Name']['language']);
+ if(!empty($co_people[0]['Name']['language'])) {
+ print _txt('en.language', null,
$co_people[0]['Name']['language']);
+ }
}
?>
</td>
+ <?php if($this->action == "compare"): ?>
+ <td>
+ <?php
+ if(!empty($co_people[0]['Name']['language'])) {
Sanitize::html($org_identities[0]['Name']['language']);
+ }
+ ?>
+ </td>
+ <?php endif; ?>
</tr>
<tr>
<th>
- [comanage-dev] r590 - registry/trunk/app/View/CoPeople, svnlog, 09/12/2013
Archive powered by MHonArc 2.6.16.