Fix empty default domain issue

This commit is contained in:
Jörg Lehrke 2010-02-07 14:28:09 +00:00
parent 42f16b4c2f
commit cc0e1a5e7f

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
{