Bump Version and fix array_filter arguments order

This commit is contained in:
Benoît Burnichon
2015-03-24 17:12:55 +01:00
parent 7b832bdda2
commit a84c55418e
2 changed files with 3 additions and 3 deletions

View File

@@ -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()

View File

@@ -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) {