From a43d85f4c6648e0718d4e86f2cf0e87c9d71b315 Mon Sep 17 00:00:00 2001 From: Matthieu Marcillaud <marcimat@rezo.net> Date: Wed, 23 Feb 2022 14:46:47 +0100 Subject: [PATCH] =?UTF-8?q?=C3=89viter=20une=20notice=20sur=20erreur=20de?= =?UTF-8?q?=20mot=20de=20passe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ecrire/auth/spip.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecrire/auth/spip.php b/ecrire/auth/spip.php index 389ebbaad3..9bb6e2f69a 100644 --- a/ecrire/auth/spip.php +++ b/ecrire/auth/spip.php @@ -115,7 +115,7 @@ function auth_spip_dist($login, $pass, $serveur = '', $phpauth = false) { } // login/mot de passe incorrect - if (!$row) { + if (empty($row)) { return []; } -- GitLab