Bad test
This commit is contained in:
parent
a1acc896e2
commit
1988703a60
@ -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');
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user