summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/rcube_ldap.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-08-28 13:00:51 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-08-28 13:00:51 +0000
commitd49d61cf9539c4ae9dd38e101426a0a8ff92d63a (patch)
tree94b1fd3fd3efa037aea38512f1c1dd506e43bffb /roundcubemail/program/include/rcube_ldap.php
parent2e5539da115373b8fe117bf5b77e3246be8fdcb8 (diff)
- Fix LDAP addressbook browsing when only one directory is used (#1486022)
git-svn-id: https://svn.roundcube.net/trunk@2887 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_ldap.php')
-rw-r--r--roundcubemail/program/include/rcube_ldap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_ldap.php b/roundcubemail/program/include/rcube_ldap.php
index 8e035c5d7..01cf68ab4 100644
--- a/roundcubemail/program/include/rcube_ldap.php
+++ b/roundcubemail/program/include/rcube_ldap.php
@@ -52,7 +52,7 @@ class rcube_ldap extends rcube_addressbook
function __construct($p)
{
$this->prop = $p;
-
+
foreach ($p as $prop => $value)
if (preg_match('/^(.+)_field$/', $prop, $matches))
$this->fieldmap[$matches[1]] = $value;