diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-03-31 15:02:02 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-03-31 15:03:35 +0200 |
commit | 3a731a01b1742f22b67eda6bc2a643462a9ae40d (patch) | |
tree | 0b5aa3802b11692765b1272c37805df3a41ffbc3 /lib | |
parent | 65e3f634000a2142f412b85d0443f241bb64a9ab (diff) | |
download | nextcloud-server-3a731a01b1742f22b67eda6bc2a643462a9ae40d.tar.gz nextcloud-server-3a731a01b1742f22b67eda6bc2a643462a9ae40d.zip |
select statement always need to contain file_source respectively item_source
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/share/share.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/share/share.php b/lib/private/share/share.php index 8238797600e..7bab98b00bf 100644 --- a/lib/private/share/share.php +++ b/lib/private/share/share.php @@ -1523,9 +1523,9 @@ class Share extends \OC\Share\Constants { $select = '*'; if ($format == self::FORMAT_STATUSES) { if ($fileDependent) { - $select = '`*PREFIX*share`.`id`, `*PREFIX*share`.`parent`, `share_type`, `path`, `share_with`, `uid_owner`'; + $select = '`*PREFIX*share`.`id`, `*PREFIX*share`.`parent`, `share_type`, `path`, `share_with`, `uid_owner` , `file_source`'; } else { - $select = '`id`, `parent`, `share_type`, `share_with`, `uid_owner`'; + $select = '`id`, `parent`, `share_type`, `share_with`, `uid_owner`, `item_source`'; } } else { if (isset($uidOwner)) { |