From e70a7af6da7108982c46ae8759f70dd490274c36 Mon Sep 17 00:00:00 2001
From: libasys <sebastian.doell@libasys.de>
Date: Tue, 8 Jul 2014 10:51:05 +0200
Subject: [PATCH] BugFix missing $item on 'file_target' Line 1911

I think this should be right!
---
 lib/private/share/share.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/private/share/share.php b/lib/private/share/share.php
index c06ea72c34..d356d6037f 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'];
 				}
 			}
-- 
GitLab