Review TYPO3_6-2 Merged 39439[BUGFIX] Allow closures in filters methods for directory items Nicole Hummel CR +2 V +2 Easy +37 −1 updated 05/11/15, 13:56 Open in Gerrit Commit message Show more 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. Resolves: #65244 Releases: master, 6.2 Change-Id: I1a1e9ce0e789bd36a4fa36e91389e8b62c50116e Reviewed-on: http://review.typo3.org/39439 Reviewed-by: Nicole Cordes <typo3@cordes.co> Tested-by: Nicole Cordes <typo3@cordes.co> Review Code review CR +2 Nicole Hummel +2 Verified V +2 Nicole Hummel +2 Issues 1 Bug #65244Allow closures / anonymous functions for file filters in LocalDriver Resolved by this change Closed File Abstraction Layer (FAL) v7 Christoph Dörfel 02/24/15, 08:18 Files 2 typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php+1 −1 typo3/sysext/core/Tests/Unit/Resource/Driver/LocalDriverTest.php+36 −0 Review log 2 Nicole Hummel commented on patch set 1 CR +2 V +2 05/11/15, 13:56 Straight backport Nicole Hummel merged patch set 1 05/11/15, 13:56