From d0b953869fb4528e88223d7c637006ecda3553fc 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 951082827..37f55f5aa 100644 --- a/libraries/auth/cookie.auth.lib.php +++ b/libraries/auth/cookie.auth.lib.php @@ -397,7 +397,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)