From 2fae2ca8f95196b9936d9bfefed9b7ce76b9cd02 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sat, 4 Oct 2008 15:06:00 +0000 Subject: [PATCH] avoid error Call to a member function getThemeUniqueValue() on a non-object --- libraries/auth/cookie.auth.lib.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libraries/auth/cookie.auth.lib.php b/libraries/auth/cookie.auth.lib.php index dbe719b15..c9f94ec54 100644 --- a/libraries/auth/cookie.auth.lib.php +++ b/libraries/auth/cookie.auth.lib.php @@ -409,7 +409,9 @@ function PMA_auth_check() // -> delete his choices that were stored in session // according to the PHP manual we should do this before the destroy: - $_SESSION = array(); + //$_SESSION = array(); + // but we still need some parts of the session information + // in libraries/header_meta_style.inc.php session_destroy(); // -> delete password cookie(s)