[Pkg-owncloud-commits] [php-sabredav] 35/80: Fix bug in Browserplugin

David Prévot taffit at moszumanska.debian.org
Thu Jan 7 02:56:24 UTC 2016


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

taffit pushed a commit to branch master
in repository php-sabredav.

commit 54b3add390fa0e8701ff070aaf0ad25cca6ef88f
Author: Jakob Sack <mail at jakobsack.de>
Date:   Mon Jan 4 16:20:05 2016 +0100

    Fix bug in Browserplugin
---
 lib/DAV/Browser/Plugin.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/DAV/Browser/Plugin.php b/lib/DAV/Browser/Plugin.php
index 4a6299b..07ca6c3 100644
--- a/lib/DAV/Browser/Plugin.php
+++ b/lib/DAV/Browser/Plugin.php
@@ -316,7 +316,7 @@ class Plugin extends DAV\ServerPlugin {
                 $html .= '</td>';
 
                 $buttonActions = '';
-                if ($subNode instanceof DAV\IFile) {
+                if ($subProps['subNode'] instanceof DAV\IFile) {
                     $buttonActions =  '<a href="' . $this->escapeHTML($subProps['fullPath']) . '?sabreAction=info"><span class="oi" data-glyph="info"></span></a>';
                 }
                 $this->server->emit('browserButtonActions', [$subProps['fullPath'], $subProps['subNode'], &$buttonActions]);

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



More information about the Pkg-owncloud-commits mailing list