Modified line for solve linter error

This commit is contained in:
Jose Gonzalez 2021-01-18 14:56:36 +01:00
parent 5a837c9aaa
commit 93a4d92a72

View File

@ -1798,7 +1798,7 @@ function is_ajax()
*/ */
function is_error($code) function is_error($code)
{ {
if ($code !== true and ($code <= ERR_GENERIC || $code === false)) { if ($code !== true && ($code <= ERR_GENERIC || $code === false)) {
return true; return true;
} else { } else {
return false; return false;