From 4cb5cb9693a2b5d13905079f2ba7c6300c26d9b2 Mon Sep 17 00:00:00 2001
From: Michael Gapczynski <mtgap@owncloud.com>
Date: Thu, 7 Mar 2013 10:00:03 -0500
Subject: itemSource parameter should be fileSource

---
 apps/files_sharing/lib/updater.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'apps/files_sharing/lib/updater.php')

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
+}
-- 
cgit v1.2.3