mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
[VD:LocalFileSystem] fix #1208 Fatal error on search with PHP<=5.3
This commit is contained in:
@@ -11,8 +11,7 @@ if (! class_exists('RecursiveCallbackFilterIterator', false)) {
|
||||
}
|
||||
|
||||
public function accept () {
|
||||
$callback = $this->callback;
|
||||
return $callback(parent::current(), parent::key(), parent::getInnerIterator());
|
||||
return call_user_func($this->callback, parent::current(), parent::key(), parent::getInnerIterator());
|
||||
}
|
||||
|
||||
public function getChildren () {
|
||||
|
||||
Reference in New Issue
Block a user