aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authoricewind1991 <robin@icewind.nl>2014-07-15 16:54:57 +0200
committericewind1991 <robin@icewind.nl>2014-07-15 16:54:57 +0200
commit61b5a770e443729bb2cd56b10ef587f313436a36 (patch)
tree682027d6dd288d8e6ee1ca1c2cdb48c05ec3e2a5 /lib
parent6c93bcc814b6f063c0ecf058307222f5c92b02ae (diff)
parentcd88c2fd7b18706d5a35b8e007f1dc97e97c0e96 (diff)
downloadnextcloud-server-61b5a770e443729bb2cd56b10ef587f313436a36.tar.gz
nextcloud-server-61b5a770e443729bb2cd56b10ef587f313436a36.zip
Merge pull request #9561 from libasys/patch-3
Fix Error undefined index: file_target
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 691a2053a82..673c0dc383a 100644
--- a/lib/private/share/share.php
+++ b/lib/private/share/share.php
@@ -1905,7 +1905,7 @@ class Share extends \OC\Share\Constants {
} else if (!isset($statuses[$item[$column]])) {
$statuses[$item[$column]]['link'] = false;
}
- if ($item['file_target']) {
+ if (!empty($item['file_target'])) {
$statuses[$item[$column]]['path'] = $item['path'];
}
}