diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-08-20 20:00:29 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-08-20 21:22:22 -0400 |
commit | 09e851a9c4751db6225130bdb6290e65308f8c76 (patch) | |
tree | bac3ec01003c49a65b3a8ce7b8bf06e1a11317d7 /lib/public | |
parent | 49229da0e12ed950288ca5c44bbaf4e7b85e3542 (diff) | |
download | nextcloud-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.php | 2 |
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 = '*'; |