mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:49:10 +01:00
fix PHP 8.0 TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given
This commit is contained in:
parent
aca63345ca
commit
365982025a
@ -806,7 +806,7 @@ class mail_zpush implements activesync_plugin_write, activesync_plugin_sendmail,
|
||||
}
|
||||
}
|
||||
//$BCCmail='';
|
||||
if (count($mailAddr)>0) $mailObject->forceBccHeader();
|
||||
if (!empty($mailAddr)) $mailObject->forceBccHeader();
|
||||
//$BCCmail = $mailObject->AddrAppend("Bcc",$mailAddr);
|
||||
foreach($folderArray as $folderName) {
|
||||
if($this->mail->isSentFolder($folderName)) {
|
||||
|
Loading…
Reference in New Issue
Block a user