BUG FIX: checking if array is empty with empty() function instead of comparing it to a boolean
This commit is contained in:
parent
7ff9c86817
commit
f5b3890721
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user