mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Update ArrayList.php
This commit is contained in:
parent
d41d601701
commit
9f95c76e5b
@ -548,7 +548,7 @@ class ArrayList extends ViewableData implements SS_List, SS_Filterable, SS_Sorta
|
||||
));
|
||||
}
|
||||
|
||||
$output = self::create();
|
||||
$output = static::create();
|
||||
|
||||
foreach($this as $item) {
|
||||
if(call_user_func($callback, $item, $this)) $output->push($item);
|
||||
|
Loading…
Reference in New Issue
Block a user