]> source.dussan.org Git - nextcloud-server.git/commitdiff
itemSource parameter should be fileSource
authorMichael Gapczynski <mtgap@owncloud.com>
Thu, 7 Mar 2013 15:00:03 +0000 (10:00 -0500)
committerMichael Gapczynski <mtgap@owncloud.com>
Thu, 7 Mar 2013 15:00:03 +0000 (10:00 -0500)
apps/files_sharing/lib/updater.php

index 030180543c9616e336815e771e042226dcd27d73..66f0d30c77bb2b9e2dae8169bda1ac29191af3fb 100644 (file)
@@ -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
+}