diff --git a/libraries/auth/config.auth.lib.php b/libraries/auth/config.auth.lib.php index cff10670b..d78e5bfe2 100644 --- a/libraries/auth/config.auth.lib.php +++ b/libraries/auth/config.auth.lib.php @@ -120,7 +120,7 @@ function PMA_auth_fails() } else { if (!isset($GLOBALS['errno']) || (isset($GLOBALS['errno']) && $GLOBALS['errno'] != 2002) && $GLOBALS['errno'] != 2003) { // Check whether user has configured something - if ($_SESSION['PMA_Config']->source_mtime != 0) { + if ($_SESSION['PMA_Config']->source_mtime == 0) { echo '

' . sprintf($GLOBALS['strAccessDeniedCreateConfig'], '', '') . '

' . "\n"; } else { echo '

' . $GLOBALS['strAccessDeniedExplanation'] . '

' . "\n";