itemSource parameter should be fileSource

remotes/origin/stable5
Michael Gapczynski 12 years ago
parent 812e306e6e
commit 4cb5cb9693
  1. 4
      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);
}
}
}
}

Loading…
Cancel
Save