summaryrefslogtreecommitdiffstats
path: root/lib/private/share/share.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/share/share.php')
-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 c06ea72c348..d356d6037ff 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 ('file_target') {
+ if ($item['file_target']) {
$statuses[$item[$column]]['path'] = $item['path'];
}
}