Bugfix: 0 - Argument 2 must be of the type array, null given

This commit is contained in:
djmaze 2021-11-13 09:45:55 +01:00
parent 2c363e63a0
commit 15ae0380ba

View file

@ -278,7 +278,7 @@ trait Accounts
$oAccount = $this->getMainAccountFromToken();
if (1 < \count($aAccounts)) {
$aAccounts = \array_filter(\array_merge(
\array_fill_keys($aOrder['Accounts'], null),
\array_fill_keys($aAccounts, null),
$this->GetAccounts($oAccount)
));
$this->SetAccounts($oAccount, $aAccounts);