summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlibasys <sebastian.doell@libasys.de>2014-07-08 10:51:05 +0200
committerlibasys <sebastian.doell@libasys.de>2014-07-08 10:51:05 +0200
commite70a7af6da7108982c46ae8759f70dd490274c36 (patch)
tree1bfeeb40c773e49c1e45bf35a1debfcc6cef7d4d
parent687cd7fe83fc40d7bc7d2ba7df5b495bf7bebdca (diff)
downloadnextcloud-server-e70a7af6da7108982c46ae8759f70dd490274c36.tar.gz
nextcloud-server-e70a7af6da7108982c46ae8759f70dd490274c36.zip
BugFix missing $item on 'file_target' Line 1911
I think this should be right!
-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'];
}
}