[Pkg-owncloud-commits] [php-sabredav] 100/148: Cast $propertyNames to an array.

David Prévot taffit at moszumanska.debian.org
Wed Apr 15 01:37:23 UTC 2015


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

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

commit d869ff1126f951541d50c0e2bc76523818e8d026
Author: Evert Pot <me at evertpot.com>
Date:   Tue Mar 31 19:50:42 2015 -0400

    Cast $propertyNames to an array.
---
 lib/DAV/Server.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/DAV/Server.php b/lib/DAV/Server.php
index a9c5fa1..ecd8f5d 100644
--- a/lib/DAV/Server.php
+++ b/lib/DAV/Server.php
@@ -909,7 +909,7 @@ class Server extends EventEmitter {
         $path = trim($path,'/');
 
         $propFindType = $propertyNames?PropFind::NORMAL:PropFind::ALLPROPS;
-        $propFind = new PropFind($path, $propertyNames, $depth, $propFindType);
+        $propFind = new PropFind($path, (array)$propertyNames, $depth, $propFindType);
 
         $parentNode = $this->tree->getNodeForPath($path);
 

-- 
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