suppress warning

This commit is contained in:
Steve Alberty
2001-08-17 13:20:41 +00:00
parent 9f8cb4b8bb
commit 8645298a6b

View File

@@ -247,7 +247,7 @@ if (!defined('__LIB_INC__')){
// Else ensure the username is not the same
else {
// force user to enter a different username
if ($old_usr == $PHP_AUTH_USER) {
if (isset($PHP_AUTH_USER) && $old_usr == $PHP_AUTH_USER) {
$do_auth = TRUE;
} else {
$do_auth = FALSE;