diff --git a/login.php b/login.php index 3baed41743..1c0970d711 100755 --- a/login.php +++ b/login.php @@ -44,10 +44,10 @@ function show_cookie() { - global $phpgw_info, $code, $lastloginid, $login; + global $phpgw_info, $code, $last_loginid, $login; /* This needs to be this way, because if someone doesnt want to use cookies, we shouldnt sneak one in */ if ($code != 5 && (isset($phpgw_info["server"]["usecookies"]) && $phpgw_info["server"]["usecookies"])){ - return $lastloginid; + return $last_loginid; } }