diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-01-27 12:20:14 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-01-27 12:20:14 +0000 |
| commit | 7a3551691e2eb17b7fe9f000d02f53c1742e05a5 (patch) | |
| tree | 27a33583583a44095e15ec51526d1305c655f5a7 /roundcubemail/program/include | |
| parent | f7c0042e2b4a37dc44c557fe8d51a83b6e73bc56 (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.php | 2 |
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]; |
