Fixed \RainLoop\Model\Account::sParentEmail property (Closes #424)

This commit is contained in:
RainLoop Team 2015-02-03 21:23:12 +04:00
parent 2937f341ee
commit 72ac34ce19

View file

@ -65,6 +65,7 @@ class Account extends \RainLoop\Account // for backward compatibility
$this->sSignMeToken = $sSignMeToken;
$this->sProxyAuthUser = $sProxyAuthUser;
$this->sProxyAuthPassword = $sProxyAuthPassword;
$this->sParentEmail = '';
}
/**
@ -226,7 +227,7 @@ class Account extends \RainLoop\Account // for backward compatibility
*/
public function SetParentEmail($sParentEmail)
{
$this->sParentEmail = \MailSo\Base\Utils::IdnToAscii($sParentEmail, true);
$this->sParentEmail = \trim(\MailSo\Base\Utils::IdnToAscii($sParentEmail, true));
}
/**