diff options
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"; |