Merge pull request #7967 from owncloud/sharing_fix_select_statement
select statement always need to contain file_source respectively item_source
This commit is contained in:
commit
0ca80254ec
1 changed files with 2 additions and 2 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue