diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2013-03-07 10:00:03 -0500 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2013-03-07 10:00:03 -0500 |
commit | 4cb5cb9693a2b5d13905079f2ba7c6300c26d9b2 (patch) | |
tree | dda31e434fa4a9daaddba56d0cdfa540e4c90e60 /apps/files_sharing | |
parent | 812e306e6e1a10b879052bccaa6b94a6bb8bf9f4 (diff) | |
download | nextcloud-server-4cb5cb9693a2b5d13905079f2ba7c6300c26d9b2.tar.gz nextcloud-server-4cb5cb9693a2b5d13905079f2ba7c6300c26d9b2.zip |
itemSource parameter should be fileSource
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/lib/updater.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/updater.php b/apps/files_sharing/lib/updater.php index 030180543c9..66f0d30c77b 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 +} |