imported kneckes fix in .16 (dont show a single @)

This commit is contained in:
Ralf Becker 2003-05-29 07:49:12 +00:00
parent 22bfbc99bb
commit fca4944ab3

View File

@ -277,7 +277,7 @@
{
reset($GLOBALS['phpgw_domain']);
list($default_domain) = each($GLOBALS['phpgw_domain']);
if ($_COOKIE['last_domain'] != $default_domain)
if ($_COOKIE['last_domain'] != $default_domain && !empty($_COOKIE['last_domain']))
{
$last_loginid .= '@' . $_COOKIE['last_domain'];
}