fix: [UI] Wrong org id for galaxy matrix stats

pull/7364/head
Jakub Onderka 2021-04-23 09:44:35 +02:00
parent dede7f5f30
commit d99a6d0ca4
1 changed files with 1 additions and 1 deletions

View File

@ -2124,7 +2124,7 @@ class UsersController extends AppController
unset($organisations[$id]);
}
}
$organisations = array_merge([0 => __('All')], $organisations);
$organisations = [0 => __('All')] + $organisations;
$this->set('organisations', $organisations);
if (isset($params['organisation']) && $params['organisation'] != 0) {