In PHP, if ($array) evaluates the same as if (count($array)). Therefore the count() should be removed since it is superfluous.

Comments

cpliakas’s picture

Status: Active » Fixed

Committed at 7b70bbb.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.