count(): Parameter must be an array or an object that implements Countable commerce_pickup.module:117

Comments

pyxio created an issue. See original summary.

joao sausen’s picture

This is actually a bug, not just a warning. It still works because count(TRUE) and count(FALSE) both validates to true.

Here is a patch to fix it.

m.stenta’s picture

Status: Active » Fixed

Good catch - thanks for the patch!

Status: Fixed » Closed (fixed)

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