From 21d72b9d99e365a933c9d8c4aa586386ec9ad641 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 3 Sep 2008 13:00:48 +0000 Subject: [PATCH] Some more corrections. --- libraries/auth/cookie.auth.lib.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libraries/auth/cookie.auth.lib.php b/libraries/auth/cookie.auth.lib.php index 359dc039e..a858f44ec 100644 --- a/libraries/auth/cookie.auth.lib.php +++ b/libraries/auth/cookie.auth.lib.php @@ -222,7 +222,7 @@ if (top != self) { // BEGIN Swekey Integration $swekeyErr = Swekey_auth_error(); if ($swekeyErr != null) { - PMA_Message::error($swekeyErr)->display(); + PMA_Message::error($swekeyErr)->display(); if ($GLOBALS['error_handler']->hasDisplayErrors()) { echo '
'; $GLOBALS['error_handler']->dispErrors(); @@ -242,7 +242,7 @@ if (top != self) { } else { $user_input_disabled = ''; } - // END Swekey Integration + // END Swekey Integration ?>
@@ -412,8 +412,9 @@ function PMA_auth_check() } // BEGIN Swekey Integration - if (! Swekey_auth_check()) + if (! Swekey_auth_check()) { return false; + } // END Swekey Integration if (defined('PMA_CLEAR_COOKIES')) {