Details
Description
This if statement in partialLoop() evaluates to true when given an empty array. This should not be the case, as exceptions will be thrown when module name is given.
Starts on line 57:
if ((null == $model) && (null !== $module)) { $model = $module; $module = null; }
Should read:
if ((null === $model) && (null !== $module)) { $model = $module; $module = null; }
Notice the triple ===.
Please evaluate and categorize as necessary.