diff options
author | alecpl <alec@alec.pl> | 2010-01-27 12:20:14 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-01-27 12:20:14 +0000 |
commit | 4fc7a7e5f633f10dac29a9bd7e77bb23e3f9585e (patch) | |
tree | c0a6af40af30fff9e4562c8e4c84631acfb32f5a /program/include | |
parent | a4942182cfeb9046296f1d901a415d02a5efecf0 (diff) |
- Re-fix #1485201
Diffstat (limited to 'program/include')
-rw-r--r-- | program/include/rcube_ldap.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php index 01b45bb4d..286bbff53 100644 --- a/program/include/rcube_ldap.php +++ b/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]; |