mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +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
6b8f8c6473
commit
a50054b8c7
@ -2291,8 +2291,8 @@ $filter['before']= date("d-M-Y", $cutoffdate2);
|
||||
$content['mailDisplayBodySrc'] = Egw::link('/index.php',$linkData);
|
||||
$content['mail_displayattachments'] = $attachmentHTMLBlock;
|
||||
$content['mail_id']=$rowID;
|
||||
$content['mailDisplayContainerClass']=(count($attachments)?"mailDisplayContainer mailDisplayContainerFixedHeight":"mailDisplayContainer mailDisplayContainerFullHeight");
|
||||
$content['mailDisplayAttachmentsClass']=(count($attachments)?"mailDisplayAttachments":"mail_DisplayNone");
|
||||
$content['mailDisplayContainerClass']=!empty($attachments)?"mailDisplayContainer mailDisplayContainerFixedHeight":"mailDisplayContainer mailDisplayContainerFullHeight";
|
||||
$content['mailDisplayAttachmentsClass']=!empty($attachments)?"mailDisplayAttachments":"mail_DisplayNone";
|
||||
|
||||
// DRAG attachments actions
|
||||
$etpl->setElementAttribute('mail_displayattachments', 'actions', array(
|
||||
|
Loading…
Reference in New Issue
Block a user