mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-08 10:34:34 +00:00
Bump Version and fix array_filter arguments order
This commit is contained in:
@@ -35,9 +35,9 @@ class databox_status
|
||||
|
||||
foreach ($structures as $databox_id => $structure) {
|
||||
if (false === $see_all[$databox_id]) {
|
||||
$structure = array_filter(function($status) {
|
||||
$structure = array_filter($structure->toArray(), function ($status) {
|
||||
return (bool) $status['searchable'];
|
||||
}, $structure->toArray());
|
||||
});
|
||||
}
|
||||
|
||||
foreach($structure as $bit => $status) {
|
||||
|
Reference in New Issue
Block a user