diff --git a/login.php b/login.php index c0acc4bb12..67437824dd 100755 --- a/login.php +++ b/login.php @@ -1,9 +1,9 @@ * - * Joseph Engo * + * eGroupWare login * + * http://www.egroupware.org * + * Originaly written by Dan Kuykendall * + * Joseph Engo * * -------------------------------------------- * * This program is free software; you can redistribute it and/or modify it * * under the terms of the GNU General Public License as published by the * @@ -207,7 +207,7 @@ { $login .= '@' . $_POST['logindomain']; } - elseif(count($GLOBALS['phpgw_domain']) == 1) + elseif(!isset($GLOBALS['phpgw_domain'][$GLOBALS['phpgw_info']['user']['domain']])) { $login .= '@'.$GLOBALS['phpgw_info']['server']['default_domain']; }