Review main Merged

37153[BUGFIX] Allow closures in filters methods for directory items

Christoph Dörfel CR +2 V +2 Easy +37 −1 updated 05/11/15, 12:31

Commit message

Instead of checking if a given filter is callable a is_array check
is done. But the filter can also be a closure and a is_array would
fail then.

This patch changes the is_array check to is_callable.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 2