Update of /cvsroot/phplib/php-lib-stable/php
In directory usw-pr-cvs1:/tmp/cvs-serv3225
Modified Files:
auth.inc
Log Message:
fix undefined variable warning in auth.inc
Index: auth.inc
===================================================================
RCS file: /cvsroot/phplib/php-lib-stable/php/auth.inc,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** auth.inc 3 Apr 2002 22:53:35 -0000 1.6
--- auth.inc 25 Apr 2002 02:19:31 -0000 1.7
***************
*** 68,73 ****
case "form":
# Login in progress
! if ($HTTP_POST_VARS[$this->cancel_login] or
! $HTTP_GET_VARS[$this->cancel_login]) {
# If $this->cancel_login is set, delete all auth info and set
# state to "Not logged in", so eventually default or automatic
--- 68,73 ----
case "form":
# Login in progress
! if ((isset($HTTP_POST_VARS[$this->cancel_login]) && $HTTP_POST_VARS[$this->cancel_login]) or
! (isset($HTTP_GET_VARS[$this->cancel_login]) && $HTTP_GET_VARS[$this->cancel_login])) {
# If $this->cancel_login is set, delete all auth info and set
# state to "Not logged in", so eventually default or automatic
|