diff --git a/api/src/Vfs/Sharing.php b/api/src/Vfs/Sharing.php index 4d6682594f..d775dca0ef 100644 --- a/api/src/Vfs/Sharing.php +++ b/api/src/Vfs/Sharing.php @@ -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'];