mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +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
03835c0247
commit
43ae41cae7
@ -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