diff --git a/apps/files_sharing/lib/updater.php b/apps/files_sharing/lib/updater.php index 030180543c..66f0d30c77 100644 --- a/apps/files_sharing/lib/updater.php +++ b/apps/files_sharing/lib/updater.php @@ -85,9 +85,9 @@ class Shared_Updater { */ static public function shareHook($params) { if ($params['itemType'] === 'file' || $params['itemType'] === 'folder') { - $id = \OC\Files\Filesystem::getPath($params['itemSource']); + $id = \OC\Files\Filesystem::getPath($params['fileSource']); self::correctFolders($id); } } -} \ No newline at end of file +}