]> source.dussan.org Git - nextcloud-server.git/commitdiff
Forgot to select storage from filecache
authorMichael Gapczynski <mtgap@owncloud.com>
Tue, 1 Jan 2013 16:26:04 +0000 (11:26 -0500)
committerMichael Gapczynski <mtgap@owncloud.com>
Tue, 1 Jan 2013 17:17:54 +0000 (12:17 -0500)
lib/public/share.php

index e438386ca366fd65a0a222e7baaa8f3320d33b48..c74960b94c536e21abaaa5e23fd6bd0488f0c26b 100644 (file)
@@ -682,7 +682,7 @@ class Share {
                        } else {
                                if ($fileDependent) {
                                        if (($itemType == 'file' || $itemType == 'folder') && $format == \OC_Share_Backend_File::FORMAT_GET_FOLDER_CONTENTS || $format == \OC_Share_Backend_File::FORMAT_FILE_APP_ROOT) {
-                                               $select = '`*PREFIX*share`.`id`, `item_type`, `*PREFIX*share`.`parent`, `uid_owner`, `share_type`, `share_with`, `file_source`, `path`, `file_target`, `permissions`, `expiration`, `*PREFIX*filecache`.`parent` as `file_parent`, `name`, `mtime`, `mimetype`, `mimepart`, `size`, `encrypted`';
+                                               $select = '`*PREFIX*share`.`id`, `item_type`, `*PREFIX*share`.`parent`, `uid_owner`, `share_type`, `share_with`, `file_source`, `path`, `file_target`, `permissions`, `expiration`, `storage`, `*PREFIX*filecache`.`parent` as `file_parent`, `name`, `mtime`, `mimetype`, `mimepart`, `size`, `encrypted`';
                                        } else {
                                                $select = '`*PREFIX*share`.`id`, `item_type`, `item_source`, `item_target`, `*PREFIX*share`.`parent`, `share_type`, `share_with`, `uid_owner`, `file_source`, `path`, `file_target`, `permissions`, `stime`, `expiration`, `token`';
                                        }