select statement always need to contain file_source respectively item_source
This commit is contained in:
parent
65e3f63400
commit
3a731a01b1
|
@ -1523,9 +1523,9 @@ class Share extends \OC\Share\Constants {
|
||||||
$select = '*';
|
$select = '*';
|
||||||
if ($format == self::FORMAT_STATUSES) {
|
if ($format == self::FORMAT_STATUSES) {
|
||||||
if ($fileDependent) {
|
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 {
|
} else {
|
||||||
$select = '`id`, `parent`, `share_type`, `share_with`, `uid_owner`';
|
$select = '`id`, `parent`, `share_type`, `share_with`, `uid_owner`, `item_source`';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (isset($uidOwner)) {
|
if (isset($uidOwner)) {
|
||||||
|
|
Loading…
Reference in New Issue