Fix missing collabora app

This commit is contained in:
nathangray 2018-07-26 15:08:32 -06:00
parent 7413b60ecf
commit 0098f41a12

View File

@ -158,7 +158,7 @@ class Sharing extends \EGroupware\Api\Sharing
'filemanager' => $GLOBALS['egw_info']['apps']['filemanager']
);
// check if sharee has Collabora run rights --> give is to share too
$apps = $GLOBALS['egw']->acl->get_user_applications($share['share_owner']);
$apps = $GLOBALS['egw']->acl->get_user_applications($this->share['share_owner']);
if (!empty($apps['collabora']))
{
$GLOBALS['egw_info']['user']['apps']['collabora'] = $GLOBALS['egw_info']['apps']['collabora'];