From 8645298a6b71a61d2d7b82475b0bdf2decf0f65a Mon Sep 17 00:00:00 2001 From: Steve Alberty Date: Fri, 17 Aug 2001 13:20:41 +0000 Subject: [PATCH] suppress warning --- lib.inc.php3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.inc.php3 b/lib.inc.php3 index 5bbfa7739..a1f704599 100755 --- a/lib.inc.php3 +++ b/lib.inc.php3 @@ -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;