Merge pull request #8128 from owncloud/fix/undefined-index-storage
Fix Undefined index: storage in share.php
This commit is contained in:
commit
4c309b05ba
|
@ -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 New Issue