summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2012-10-08 13:21:34 +0200
committerBjörn Schießle <schiessle@owncloud.com>2012-10-08 13:22:08 +0200
commit8357754ff15a090ec3d452cd8b98106a68ec1f68 (patch)
tree12699c52cf641685b1e98f3efcad02386e10eb9d /lib/public
parente9f04bedd4d57ffd47d9b6e25041da191aaac1e7 (diff)
downloadnextcloud-server-8357754ff15a090ec3d452cd8b98106a68ec1f68.tar.gz
nextcloud-server-8357754ff15a090ec3d452cd8b98106a68ec1f68.zip
added "uid_owner" to select statement
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 59dbad035aa..75363d081c0 100644
--- a/lib/public/share.php
+++ b/lib/public/share.php
@@ -645,7 +645,7 @@ class Share {
} else {
if ($fileDependent) {
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`, `file_source`, `path`, `file_target`, `permissions`, `expiration`, `name`, `ctime`, `mtime`, `mimetype`, `size`, `encrypted`, `versioned`, `writable`';
+ $select = '`*PREFIX*share`.`id`, `item_type`, `*PREFIX*share`.`parent`, `uid_owner`, `share_type`, `share_with`, `file_source`, `path`, `file_target`, `permissions`, `expiration`, `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`, `uid_owner`, `file_source`, `path`, `file_target`, `permissions`, `stime`, `expiration`';
}