aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-04-09 15:14:44 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-04-09 15:14:44 +0200
commit352063cf0ad33b1e36b5706b661e1218512fab36 (patch)
tree1fde09de740bb535d65a22459123078eb7e0d876 /lib
parentd8f56e3c00e9cdba37b1155a4314398c7a124103 (diff)
downloadnextcloud-server-352063cf0ad33b1e36b5706b661e1218512fab36.tar.gz
nextcloud-server-352063cf0ad33b1e36b5706b661e1218512fab36.zip
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"}
Diffstat (limited to 'lib')
-rw-r--r--lib/private/share/share.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/share/share.php b/lib/private/share/share.php
index 7bab98b00bf..3bc07b43b4c 100644
--- a/lib/private/share/share.php
+++ b/lib/private/share/share.php
@@ -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`';
}