summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/updater.php
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2013-03-02 13:11:57 -0500
committerMichael Gapczynski <mtgap@owncloud.com>2013-03-02 13:11:57 -0500
commite466d680fea1738bfa5eeb12a13b6e8fa858a986 (patch)
tree95343af39e5b8a2d8d785fe0b46cd9bab3268483 /apps/files_sharing/lib/updater.php
parent9b4d7d99253885fadeed61b988c3c7528ca6d43a (diff)
downloadnextcloud-server-e466d680fea1738bfa5eeb12a13b6e8fa858a986.tar.gz
nextcloud-server-e466d680fea1738bfa5eeb12a13b6e8fa858a986.zip
Fix variable name in Shared_Updater
Diffstat (limited to 'apps/files_sharing/lib/updater.php')
-rw-r--r--apps/files_sharing/lib/updater.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/updater.php b/apps/files_sharing/lib/updater.php
index 8d00d44c3b9..cc04835b7d7 100644
--- a/apps/files_sharing/lib/updater.php
+++ b/apps/files_sharing/lib/updater.php
@@ -78,7 +78,7 @@ class Shared_Updater {
* @param array $params
*/
static public function shareHook($params) {
- if ($params['itemType'] === 'file' || $param['itemType'] === 'folder') {
+ if ($params['itemType'] === 'file' || $params['itemType'] === 'folder') {
$id = \OC\Files\Filesystem::getPath($params['itemSource']);
self::correctFolders($id);
}