From 1988703a608d9815db29e25615b0ca20a0bcb5d2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 18 Apr 2021 23:27:39 +0200 Subject: [PATCH] Bad test --- htdocs/website/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/website/index.php b/htdocs/website/index.php index 2fb031d6789..f992a4ba0d0 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -1366,7 +1366,7 @@ if ($action == 'updatecss' && $usercanedit) { $error++; setEventMessages($langs->trans('ErrorFaviconMustBeASquaredImage'), array(), 'errors'); } - if (! $error && ($filesize[0] != 16 || $filesize[0] != 32 || $filesize[0] != 64)) { + if (! $error && ($filesize[0] != 16 && $filesize[0] != 32 && $filesize[0] != 64)) { $error++; setEventMessages($langs->trans('ErrorFaviconSize'), array(), 'errors'); }