aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-08-06 15:24:08 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-08-06 15:24:08 -0400
commit14d13a740fc1eda23f8d1b037e8eed9b4e3266a9 (patch)
tree7f82f4f3c924537d67d6f64b1bc0698a9713b16a /lib
parent03d65af5dc23ffb5a00dd504d925514ecb1d80f3 (diff)
downloadnextcloud-server-14d13a740fc1eda23f8d1b037e8eed9b4e3266a9.tar.gz
nextcloud-server-14d13a740fc1eda23f8d1b037e8eed9b4e3266a9.zip
Load icons for addressbooks, fix statuses for types other than files
Diffstat (limited to 'lib')
-rw-r--r--lib/public/share.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/share.php b/lib/public/share.php
index c31f316efef..f71b5089786 100644
--- a/lib/public/share.php
+++ b/lib/public/share.php
@@ -506,7 +506,7 @@ class Share {
if ($itemType == 'file' || $itemType == 'folder') {
$select = '*PREFIX*share.id, item_type, *PREFIX*share.parent, share_type, *PREFIX*fscache.path as file_source';
} else {
- $select = 'id, item_source, parent, share_type';
+ $select = 'id, item_type, item_source, parent, share_type';
}
} else {
if (isset($uidOwner)) {