The filterItems() calls itself recursively but dosen't path back in the result count $number variable leading to "Missing argument 2" warnings and "Undefined variable: number" Notices.

Comments

guy_schneerson’s picture

Status: Active » Needs review
StatusFileSize
new939 bytes

Patch fixing this issue

bojanz’s picture

Status: Needs review » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

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