Author: cfinck Date: Wed May 6 00:45:33 2009 New Revision: 406
URL: http://svn.reactos.org/svn/reactos?rev=406&view=rev Log: Fix warning occuring at higher PHP warning level
Modified: branches/danny-web/www/www.reactos.org/wiki/includes/User.php
Modified: branches/danny-web/www/www.reactos.org/wiki/includes/User.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/www/www.reactos.org/wi... ============================================================================== --- branches/danny-web/www/www.reactos.org/wiki/includes/User.php [iso-8859-1] (original) +++ branches/danny-web/www/www.reactos.org/wiki/includes/User.php [iso-8859-1] Wed May 6 00:45:33 2009 @@ -769,7 +769,7 @@ $_SESSION['wsToken'] = $this->mToken; /* If the User ID we got does not match with the User ID stored in the session variable, a login/logout was performed, so invalidate the cache. */ - if($_SESSION["wsUserID"] != $this->mId) + if(isset($_SESSION["wsUserID"]) && $_SESSION["wsUserID"] != $this->mId) { $_SESSION["wsUserID"] = $this->mId; $this->invalidateCache();