mirror of
https://github.com/vrana/adminer.git
synced 2026-08-31 03:58:41 +02:00
Replace isset($var) by $var !== null
This commit is contained in:
@@ -67,7 +67,7 @@ function auth_error($exception = null) {
|
||||
$error = lang('Session expired, please login again.');
|
||||
} else {
|
||||
$password = &get_session("pwds");
|
||||
if (isset($password)) {
|
||||
if ($password !== null) {
|
||||
$error = h($exception ? $exception->getMessage() : (is_string($connection) ? $connection : lang('Invalid credentials.')));
|
||||
$password = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user