BUG FIX: checking if array is empty with empty() function instead of comparing it to a boolean

This commit is contained in:
NASDAMI Quatadah 2022-06-13 15:47:31 +02:00
parent 7ff9c86817
commit f5b3890721

View File

@ -374,7 +374,7 @@ class EvalMath
*/ */
private function pfx($tokens, $vars = array()) private function pfx($tokens, $vars = array())
{ {
if ($tokens == false) { if (empty($tokens)) {
return false; return false;
} }