summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-07-09 07:58:37 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-07-09 07:58:37 +0200
commit63fdaacbfcc8dbccca6777d623b6baadbd0ed56b (patch)
tree9e977739e8d9ffa8239600a991937bb436dea8c5
parent6e2e0108ee84b2ffded721e5a0fd070437ffe958 (diff)
parente70a7af6da7108982c46ae8759f70dd490274c36 (diff)
downloadnextcloud-server-63fdaacbfcc8dbccca6777d623b6baadbd0ed56b.tar.gz
nextcloud-server-63fdaacbfcc8dbccca6777d623b6baadbd0ed56b.zip
Merge pull request #9510 from libasys/patch-1
BugFix missing $item on 'file_target' Line 1911
-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'];
}
}