From 63484fb8754d4c649fbb04f1cc1b765a8b61006b Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Mon, 8 Feb 2021 16:06:22 +0100 Subject: [PATCH] Remove newline before error message --- adminer/include/auth.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminer/include/auth.inc.php b/adminer/include/auth.inc.php index 0046da7d..b8ce053f 100644 --- a/adminer/include/auth.inc.php +++ b/adminer/include/auth.inc.php @@ -119,7 +119,7 @@ function auth_error($error) { $password = get_password(); if ($password !== null) { if ($password === false) { - $error .= '
' . lang('Master password expired. Implement %s method to make it permanent.', target_blank(), 'permanentLogin()'); + $error .= ($error ? '
' : '') . lang('Master password expired. Implement %s method to make it permanent.', target_blank(), 'permanentLogin()'); } set_password(DRIVER, SERVER, $_GET["username"], null); }