Fix empty default domain issue

This commit is contained in:
Jörg Lehrke 2010-02-07 14:28:55 +00:00
parent c99c79cd32
commit 3c13536c3a

View File

@ -315,7 +315,7 @@ class EGW_SyncML_State extends Horde_SyncML_State
if (strpos($this->_locName,'@') === False)
{
$this->_account_domain = $GLOBALS['egw_info']['server']['default_domain'];
$this->_locName .= '@'. $this->_account_domain;
$this->_locName .= ($this->_account_domain ? '@'. $this->_account_domain : '');
}
else
{