Fix empty default domain issue

This commit is contained in:
Jörg Lehrke 2010-02-07 17:42:38 +00:00
parent fd4a50b255
commit dc0909aa86

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
{