mirror of
https://github.com/nextcloud/server.git
synced 2026-07-16 13:23:11 -04:00
Merge pull request #8128 from owncloud/fix/undefined-index-storage
Fix Undefined index: storage in share.php
This commit is contained in:
commit
4c309b05ba
1 changed files with 1 additions and 1 deletions
|
|
@ -1523,7 +1523,7 @@ 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` , `file_source`';
|
||||
$select = '`*PREFIX*share`.`id`, `*PREFIX*share`.`parent`, `share_type`, `path`, `storage`, `share_with`, `uid_owner` , `file_source`';
|
||||
} else {
|
||||
$select = '`id`, `parent`, `share_type`, `share_with`, `uid_owner`, `item_source`';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue