forked from extern/egroupware
Fix PHP 8.x Fatal: array_merge(): Argument #2 must be of type array, null given
This commit is contained in:
parent
9cb30f59db
commit
fc716d0e6e
@ -3189,7 +3189,7 @@ class Mail
|
||||
//error_log(__METHOD__.__LINE__.array2string($autoFolderObjects));
|
||||
// avoid calling sortByAutoFolder as it is not regarding subfolders
|
||||
$autoFolderObjectsTmp = $autoFolderObjects;
|
||||
unset($autoFolderObjects);
|
||||
$autoFolderObjects = [];
|
||||
uasort($autoFolderObjectsTmp, array($this,'sortByMailbox'));
|
||||
foreach($autoFoldersTmp as $afk=>$aF)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user