Open Sewdn opened 14 years ago
Index: doAuthRememberMeFilter.class.php =================================================================== --- doAuthRememberMeFilter.class.php (revision 32) +++ doAuthRememberMeFilter.class.php (working copy) @@ -20,7 +20,7 @@ if ($user) { if ($value[2] == doAuthTools::rememberHash($user)) { - $this->context->getUser()->signIn($q->fetchOne()); + $this->context->getUser()->signIn($user); } } }
doAuthRememberMeFilter.class.php uses a reference to an unexistant variabel $q. Suppose it was the query object to fetch the user-object. Replaced $q->fetchOne() with a reference tot the fetched user object