mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-08 18:44:30 +00:00
Bump Version and fix array_filter arguments order
This commit is contained in:
@@ -13,7 +13,7 @@ namespace Alchemy\Phrasea\Core;
|
||||
|
||||
class Version
|
||||
{
|
||||
private $number = '3.9.0-alpha.20';
|
||||
private $number = '3.9.0-alpha.22';
|
||||
private $name = 'Herrerasaurus';
|
||||
|
||||
public function getNumber()
|
||||
|
@@ -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