Skip to content

Commit

Permalink
ITC-2811 mb_strtolower(): Passing null to parameter #1 () of type str…
Browse files Browse the repository at this point in the history
…ing is deprecated in /opt/openitc/frontend/vendor/cakephp/cakephp/src/Utility/Hash.php on line 1048
  • Loading branch information
nook24 committed Jul 14, 2022
1 parent 90038d5 commit 454f306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/BrowsersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function index($containerId = null) {
$TenantsTable = TableRegistry::getTableLocator()->get('Tenants');

$tenants = $TenantsTable->getTenantsForBrowsersIndex($this->MY_RIGHTS, $User->getId());
$tenants = Hash::sort($tenants, '{n}.name', 'asc', ['type' => 'regular', 'ignoreCase' => true]);
$tenants = Hash::sort($tenants, '{n}.container.name', 'asc', ['type' => 'regular', 'ignoreCase' => true]);

$tenantsFiltered = [];
$tenantsOfContainerNotVisibleForUser = false;
Expand Down

0 comments on commit 454f306

Please sign in to comment.