[Pkg-owncloud-commits] [owncloud] 56/70: BugFix missing $item on 'file_target' Line 1911

David Prévot taffit at moszumanska.debian.org
Mon Jul 14 17:38:09 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 9ccadcfe80252288c93230cf8f983bc33633a87b
Author: libasys <sebastian.doell at libasys.de>
Date:   Tue Jul 8 10:51:05 2014 +0200

    BugFix missing $item on 'file_target' Line 1911
    
    I think this should be right!
    
    Backport of e70a7af6da7108982c46ae8759f70dd490274c36 from master
---
 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 c06ea72..d356d60 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'];
 				}
 			}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list