mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-05 21:49:28 +01:00
bug fix for [ 1043166 ] Does not use return email address
solved by Gareth Horth
This commit is contained in:
parent
a92c084471
commit
e2394006a8
@ -36,7 +36,7 @@
|
||||
function getAccountEmailAddress($_accountName)
|
||||
{
|
||||
$accountID = $GLOBALS['phpgw']->accounts->name2id($_accountName);
|
||||
$emailAddress = $GLOBALS['phpgw']->accounts->id2name(accountID,'account_email');
|
||||
$emailAddress = $GLOBALS['phpgw']->accounts->id2name($accountID,'account_email');
|
||||
if(empty($emailAddress))
|
||||
$emailAddress = $_accountName.'@'.$this->profileData['defaultDomain'];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user