diff options
author | svncommit <devs@roundcube.net> | 2006-01-11 00:38:08 +0000 |
---|---|---|
committer | svncommit <devs@roundcube.net> | 2006-01-11 00:38:08 +0000 |
commit | c4a6214e93ce13202ef6fe7add90ae4c2d1f2deb (patch) | |
tree | 45461f0100ec12caa6728f66da82ca13519e4a9c /program | |
parent | 9d2c0d496713fef847415616146ae8e6868ba242 (diff) |
implemented making the search fields drop down names nice
Diffstat (limited to 'program')
-rw-r--r-- | program/steps/addressbook/ldapsearchform.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/addressbook/ldapsearchform.inc b/program/steps/addressbook/ldapsearchform.inc index 036ade6c8..763e9f3a9 100644 --- a/program/steps/addressbook/ldapsearchform.inc +++ b/program/steps/addressbook/ldapsearchform.inc @@ -78,7 +78,7 @@ function rcmail_ldap_public_search_form($attrib) $search_fields = new select(array('name' => $field_name, 'id' => $field_id)); - $search_fields->add($server['search_fields'], $server['search_fields']); + $search_fields->add(array_keys($server['search_fields']), array_values($server['search_fields'])); $out .= '<tr><td class="title"><label for="' . $field_id . '">' . rep_specialchars_output(rcube_label('ldappublicsearchfield')) . "</label></td><td>" . $search_fields->show() . "</td></tr>\n"; |