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"}
This commit is contained in:
Joas Schilling 2014-04-09 15:14:44 +02:00
parent d8f56e3c00
commit 352063cf0a
1 changed files with 1 additions and 1 deletions

View File

@ -1523,7 +1523,7 @@ 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` , `file_source`'; $select = '`*PREFIX*share`.`id`, `*PREFIX*share`.`parent`, `share_type`, `path`, `storage`, `share_with`, `uid_owner` , `file_source`';
} else { } else {
$select = '`id`, `parent`, `share_type`, `share_with`, `uid_owner`, `item_source`'; $select = '`id`, `parent`, `share_type`, `share_with`, `uid_owner`, `item_source`';
} }