summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorlibasys <sebastian.doell@libasys.de>2014-07-10 13:19:35 +0200
committerlibasys <sebastian.doell@libasys.de>2014-07-10 13:19:35 +0200
commitcd88c2fd7b18706d5a35b8e007f1dc97e97c0e96 (patch)
tree958eb626c840852de17dbaacb0a9b52d09f9d018 /lib
parentb395ff549bf70ffb86b79e41ec92f1bf2f2c7960 (diff)
downloadnextcloud-server-cd88c2fd7b18706d5a35b8e007f1dc97e97c0e96.tar.gz
nextcloud-server-cd88c2fd7b18706d5a35b8e007f1dc97e97c0e96.zip
Update share.php
change isset with empty on line 1911
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 da978e13e72..b54415e91d4 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 (isset($item['file_target'])) {
+ if (!empty($item['file_target'])) {
$statuses[$item[$column]]['path'] = $item['path'];
}
}