]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix variable name in Shared_Updater
authorMichael Gapczynski <mtgap@owncloud.com>
Sat, 2 Mar 2013 18:11:57 +0000 (13:11 -0500)
committerMichael Gapczynski <mtgap@owncloud.com>
Sat, 2 Mar 2013 18:11:57 +0000 (13:11 -0500)
apps/files_sharing/lib/updater.php

index 8d00d44c3b9ec17acd786d5e7e948e39a7c82688..cc04835b7d75f3817f1f9a6446959bf1bccdbef2 100644 (file)
@@ -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);
                }