mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Bugfix: count() Argument #1 ($value) must be of type Countable|array, null given
This commit is contained in:
parent
e452c3516a
commit
22472ea1f1
1 changed files with 2 additions and 2 deletions
|
|
@ -215,8 +215,8 @@ trait Accounts
|
||||||
return $this->FalseResponse(__FUNCTION__);
|
return $this->FalseResponse(__FUNCTION__);
|
||||||
}
|
}
|
||||||
|
|
||||||
$oAccount = $this->getMainAccountFromToken();
|
if (\is_array($aAccounts) && 1 < \count($aAccounts)) {
|
||||||
if (1 < \count($aAccounts)) {
|
$oAccount = $this->getMainAccountFromToken();
|
||||||
$aAccounts = \array_filter(\array_merge(
|
$aAccounts = \array_filter(\array_merge(
|
||||||
\array_fill_keys($aAccounts, null),
|
\array_fill_keys($aAccounts, null),
|
||||||
$this->GetAccounts($oAccount)
|
$this->GetAccounts($oAccount)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue