mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-08 08:57:03 +03: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);
|
return !\preg_match('/^(IMAP|AUTH|LOGIN|SASL)/', $item);
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue