diff --git a/ecrire/auth/spip.php b/ecrire/auth/spip.php index 389ebbaad3fd1982365036ffbdf255eff916c118..9bb6e2f69a739600448a7ce3fa917989568ed362 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 []; }