summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorThomas Arendsen Hein <thomas@intevation.de>2009-05-14 14:35:37 (GMT)
committerThomas Arendsen Hein <thomas@intevation.de>2009-05-14 14:35:37 (GMT)
commit73e01665ccfc371e12d26062a783099dd1ce6351 (patch)
tree14ac42a40633f1eeabf29cace93bf6e779a0262c /www
parenta65db9b53b4fc86f8f0a1c1c337bd34205f99ea8 (diff)
downloadkolab-webadmin-73e01665ccfc371e12d26062a783099dd1ce6351.tar.gz
kolab/issue3570 (Viewing external addresses fails to display phone numbers and some other values)
Diffstat (limited to 'www')
-rw-r--r--www/admin/addressbook/addr.php.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/admin/addressbook/addr.php.in b/www/admin/addressbook/addr.php.in
index 1554647..84f0c27 100644
--- a/www/admin/addressbook/addr.php.in
+++ b/www/admin/addressbook/addr.php.in
@@ -34,8 +34,8 @@ function fill_form_for_modify( &$form, &$ldap_object ) {
foreach( array( 'title', 'o', 'ou', 'roomNumber', 'street', 'postOfficeBox',
'postalCode', 'l', 'c', 'telephoneNumber',
'facsimileTelephoneNumber' ) as $attr ) {
- if (is_array($ldap_object[strtolower($attr)])) $v = $ldap_object[strtolower($attr)][0];
- else $v = $ldap_object[strtolower($attr)];
+ if (is_array($ldap_object[$attr])) $v = $ldap_object[$attr][0];
+ else $v = $ldap_object[$attr];
$form->entries[$attr]['value'] = $v;
}
if (is_array($ldap_object['alias'])) {