mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-11-10 09:02:45 +08:00
Bugfix: Folders array_filter(): Argument #1 ($array) must be of type array, null given
This commit is contained in:
parent
1a75a624cb
commit
b88794b54b
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ trait Folders
|
|||
}
|
||||
}
|
||||
|
||||
$aCapabilities = \array_values(\array_filter($this->ImapClient()->Capability(), function ($item) {
|
||||
$aCapabilities = \array_values(\array_filter($this->ImapClient()->Capability() ?: [], function ($item) {
|
||||
return !\preg_match('/^(IMAP|AUTH|LOGIN|SASL)/', $item);
|
||||
}));
|
||||
|
||||
|
|
Loading…
Reference in a new issue