summaryrefslogtreecommitdiff
path: root/program/include/rcube_ldap.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-08-28 13:00:51 +0000
committeralecpl <alec@alec.pl>2009-08-28 13:00:51 +0000
commit6855ce6f702d5fd5c055b6edf9af0085882a4c56 (patch)
tree96955ab42d133ec1fc9aef8895b1431b7ae22e8d /program/include/rcube_ldap.php
parenta3cf3c5046a0e3c8844eac72db04da7622225da0 (diff)
- Fix LDAP addressbook browsing when only one directory is used (#1486022)
Diffstat (limited to 'program/include/rcube_ldap.php')
-rw-r--r--program/include/rcube_ldap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php
index 8e035c5d7..01cf68ab4 100644
--- a/program/include/rcube_ldap.php
+++ b/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;