From c9d09bbe43f268c11cadc9846652ff33521edf6c Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Wed, 25 Jan 2006 15:10:12 -0500 Subject: [PATCH] Updated localizations --- program/steps/addressbook/ldapsearchform.inc | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/program/steps/addressbook/ldapsearchform.inc b/program/steps/addressbook/ldapsearchform.inc index 763e9f3..5c04406 100644 --- a/program/steps/addressbook/ldapsearchform.inc +++ b/program/steps/addressbook/ldapsearchform.inc @@ -26,7 +26,7 @@ function rcmail_ldap_public_search_form($attrib) { global $CONFIG, $JS_OBJECT_NAME, $OUTPUT; - if (!$CONFIG['ldap_public']) + if (!isset($CONFIG['ldap_public'])) { // no ldap servers to search show_message('noldapserver', 'warning'); @@ -105,8 +105,8 @@ { // 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'"; -- Gitblit v1.9.1