Filemanager - fix shared directory could not open odp (or other non-odt files) in Collabora

This commit is contained in:
nathangray 2019-09-09 11:26:02 -06:00
parent ea1d654dea
commit 9fdccd7bca

View File

@ -304,7 +304,7 @@ class filemanager_hooks
*/ */
static function getEditorLink() static function getEditorLink()
{ {
foreach (Api\Hooks::process('filemanager-editor-link', 'collabora') as $app => $link) foreach (Api\Hooks::process('filemanager-editor-link', 'collabora',true) as $app => $link)
{ {
if ($link && ($access = \EGroupware\Api\Vfs\Links\StreamWrapper::check_app_rights($app)) && if ($link && ($access = \EGroupware\Api\Vfs\Links\StreamWrapper::check_app_rights($app)) &&
(empty($GLOBALS['egw_info']['user']['preferences']['filemanager']['document_doubleclick_action']) || (empty($GLOBALS['egw_info']['user']['preferences']['filemanager']['document_doubleclick_action']) ||