fix broken Collabora config stalls display of mail list

This commit is contained in:
ralf 2023-03-15 20:46:28 +01:00
parent 843aaae63c
commit cdb0998bee

View File

@ -2529,7 +2529,7 @@ $filter['before']= date("d-M-Y", $cutoffdate2);
if ($GLOBALS['egw_info']['apps']['collabora'] if ($GLOBALS['egw_info']['apps']['collabora']
&& $GLOBALS['egw_info']['user']['preferences']['filemanager']['document_doubleclick_action'] === 'collabora' && $GLOBALS['egw_info']['user']['preferences']['filemanager']['document_doubleclick_action'] === 'collabora'
&& array_key_exists($value['mimeType'], filemanager_hooks::getEditorPrefMimes())) && array_key_exists($value['mimeType'], filemanager_hooks::getEditorPrefMimes() ?: []))
{ {
$attachmentHTML[$key]['actions'] = 'collabora'; $attachmentHTML[$key]['actions'] = 'collabora';
$attachmentHTML[$key]['actionsDefaultLabel'] = 'Open with Collabora'; $attachmentHTML[$key]['actionsDefaultLabel'] = 'Open with Collabora';