summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-01-27 12:20:14 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-01-27 12:20:14 +0000
commit7a3551691e2eb17b7fe9f000d02f53c1742e05a5 (patch)
tree27a33583583a44095e15ec51526d1305c655f5a7 /roundcubemail/program/include
parentf7c0042e2b4a37dc44c557fe8d51a83b6e73bc56 (diff)
- Re-fix #1485201
git-svn-id: https://svn.roundcube.net/trunk@3230 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
-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 01b45bb4d..286bbff53 100644
--- a/roundcubemail/program/include/rcube_ldap.php
+++ b/roundcubemail/program/include/rcube_ldap.php
@@ -648,7 +648,7 @@ class rcube_ldap extends rcube_addressbook
foreach ($this->fieldmap as $rf => $lf)
{
if ($rec[$lf]['count']) {
- if ($rf == 'email' && $mail_domain && !strpos($rec[$lf][0], '@'))
+ if ($rf == 'email' && $this->mail_domain && !strpos($rec[$lf][0], '@'))
$out[$rf] = sprintf('%s@%s', $rec[$lf][0], $this->mail_domain);
else
$out[$rf] = $rec[$lf][0];