Browse Source

Fix Undefined index: storage in share.php

There parameter was removed when the code was cleaned up:
{"app":"PHP","message":"Undefined index: storage at
E:\\ownCloud\\owncloud\\lib\\private\\share\\share.php#1160",
"level":0,"time":"2014-04-09T12:56:23+00:00"}
tags/v7.0.0alpha2
Joas Schilling 10 years ago
parent
commit
352063cf0a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/private/share/share.php

+ 1
- 1
lib/private/share/share.php View File

@@ -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…
Cancel
Save