summaryrefslogtreecommitdiffstats
path: root/lib/private/share
diff options
context:
space:
mode:
authorlibasys <sebastian.doell@libasys.de>2014-07-10 13:02:04 +0200
committerlibasys <sebastian.doell@libasys.de>2014-07-10 13:02:04 +0200
commitb395ff549bf70ffb86b79e41ec92f1bf2f2c7960 (patch)
treedf8fe6ce656b2dead3f951a1ed6802d44d10ee89 /lib/private/share
parent77792b5b7e068232360bade598fb0dd3c25bf5bb (diff)
downloadnextcloud-server-b395ff549bf70ffb86b79e41ec92f1bf2f2c7960.tar.gz
nextcloud-server-b395ff549bf70ffb86b79e41ec92f1bf2f2c7960.zip
Update share.php
Added isset for error: ``` Undefined index: file_target at /var/www/owncloud/lib/private/share/share.php#1911 ```
Diffstat (limited to 'lib/private/share')
-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 d356d6037ff..da978e13e72 100644
--- a/lib/private/share/share.php
+++ b/lib/private/share/share.php
@@ -1908,7 +1908,7 @@ class Share extends \OC\Share\Constants {
} else if (!isset($statuses[$item[$column]])) {
$statuses[$item[$column]]['link'] = false;
}
- if ($item['file_target']) {
+ if (isset($item['file_target'])) {
$statuses[$item[$column]]['path'] = $item['path'];
}
}