diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-12-29 11:45:13 -0500 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-12-29 11:45:13 -0500 |
commit | cfc3526b25f1b96ab7a989f1c89f5b3911bc18fc (patch) | |
tree | 03b92510fe8c2bb23c4228e7ffc4f12f98926b98 /lib/public | |
parent | fb053f8e73056108acfd1574973d7b18581fc833 (diff) | |
download | nextcloud-server-cfc3526b25f1b96ab7a989f1c89f5b3911bc18fc.tar.gz nextcloud-server-cfc3526b25f1b96ab7a989f1c89f5b3911bc18fc.zip |
Fix data for shared root folder
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/share.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/share.php b/lib/public/share.php index 2775a07f133..e438386ca36 100644 --- a/lib/public/share.php +++ b/lib/public/share.php @@ -681,7 +681,7 @@ class Share { } } else { if ($fileDependent) { - if (($itemType == 'file' || $itemType == 'folder') && $format == \OC_Share_Backend_File::FORMAT_GET_FOLDER_CONTENTS) { + 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`'; } 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`'; |