summaryrefslogtreecommitdiff
path: root/program/steps/addressbook/ldapsearchform.inc
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2006-01-17 23:53:26 +0000
committersvncommit <devs@roundcube.net>2006-01-17 23:53:26 +0000
commit39ecb7d0c26c6b72b4e938b2616f6e8ef5efe3f4 (patch)
tree0c073a73a05fed6de9a41353bf08cd8edc3da922 /program/steps/addressbook/ldapsearchform.inc
parent2a20b04f5ee43d5cfc9a07988871096dd41c6adf (diff)
fixed the pretty naming of ldap search fields again...
Diffstat (limited to 'program/steps/addressbook/ldapsearchform.inc')
-rw-r--r--program/steps/addressbook/ldapsearchform.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/addressbook/ldapsearchform.inc b/program/steps/addressbook/ldapsearchform.inc
index 763e9f3a9..5e414ba3e 100644
--- a/program/steps/addressbook/ldapsearchform.inc
+++ b/program/steps/addressbook/ldapsearchform.inc
@@ -105,8 +105,8 @@ function rcmail_ldap_public_search_form($attrib)
{
// store the search fields in a js array for each server
$js = '';
- foreach ($server['search_fields'] as $k => $search_field)
- $js .= "'$search_field', ";
+ foreach ($server['search_fields'] as $search_name => $search_value)
+ $js .= "['$search_name', '$search_value'], ";
// store whether this server accepts fuzzy search as last item in array
$js .= $server['fuzzy_search'] ? "'fuzzy'" : "'exact'";