Actions
Bug #65244
closedAllow closures / anonymous functions for file filters in LocalDriver
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2015-02-24
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:
Description
Filters for directory items are called through call_user_func($filter, $args...).
As of now this doesn't work with closures, since $filter is checked beforehand with is_array() instead of is_callable(), which would be the correct way of checking for a callable array.
Actions