mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Make sure we have default registered link if there's no Collabora
This commit is contained in:
parent
601f15527b
commit
8d10866706
@ -311,8 +311,10 @@ class filemanager_hooks
|
||||
);
|
||||
foreach ($implemented as $app)
|
||||
{
|
||||
$link = Api\Hooks::process('filemanager-editor-link', $app);
|
||||
$link = $link[$app];
|
||||
if (($l = Api\Hooks::process('filemanager-editor-link')) && $l[$app])
|
||||
{
|
||||
$link = $l[$app];
|
||||
}
|
||||
if ($app == 'collabora') break; // collabora is default
|
||||
}
|
||||
return $link;
|
||||
|
Loading…
Reference in New Issue
Block a user