]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix a strict error in webdav
authorRobin Appelman <icewind1991@gmail.com>
Sat, 28 May 2011 13:52:10 +0000 (15:52 +0200)
committerRobin Appelman <icewind1991@gmail.com>
Sat, 28 May 2011 13:52:35 +0000 (15:52 +0200)
lib/HTTP/WebDAV/Server/Filesystem.php

index 9cebee48d7c9dbade52922ce5a1ad44aa32e56c7..164892c9d862efb3ca4ba97e4a3323445e83734d 100644 (file)
                                $path=$options['path'];
                                $name=$prop['name'];
                                $ns=$prop['ns'];
-                               $val=$prop['val'];
                 if (isset($prop["val"])) {
+                               $val=$prop['val'];
                         $query = OC_DB::prepare("REPLACE INTO *PREFIX*properties (path,name,ns,value) VALUES(?,?,?,?)");
                         $query->execute(array($path,$name,$ns,$val));
                 } else {