summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-08-20 20:00:29 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-08-20 21:22:22 -0400
commit09e851a9c4751db6225130bdb6290e65308f8c76 (patch)
treebac3ec01003c49a65b3a8ce7b8bf06e1a11317d7 /lib/public
parent49229da0e12ed950288ca5c44bbaf4e7b85e3542 (diff)
downloadnextcloud-server-09e851a9c4751db6225130bdb6290e65308f8c76.tar.gz
nextcloud-server-09e851a9c4751db6225130bdb6290e65308f8c76.zip
Fix share ajax calls to use itemName/itemSource, show who shared a file with you
Diffstat (limited to 'lib/public')
-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 c57016fb984..6d4749b1ac9 100644
--- a/lib/public/share.php
+++ b/lib/public/share.php
@@ -520,7 +520,7 @@ class Share {
if (($itemType == 'file' || $itemType == 'folder') && $format == \OC_Share_Backend_File::FORMAT_FILE_APP || $format == \OC_Share_Backend_File::FORMAT_FILE_APP_ROOT) {
$select = '*PREFIX*share.id, item_type, *PREFIX*share.parent, share_type, share_with, permissions, file_target, *PREFIX*fscache.id, path as file_source, name, ctime, mtime, mimetype, size, encrypted, versioned, writable';
} else {
- $select = '*PREFIX*share.id, item_type, item_source, item_target, *PREFIX*share.parent, share_type, share_with, permissions, stime, path as file_source, file_target';
+ $select = '*PREFIX*share.id, item_type, item_source, item_target, *PREFIX*share.parent, share_type, share_with, uid_owner, permissions, stime, path as file_source, file_target';
}
} else {
$select = '*';