From: Robin Appelman Date: Sat, 28 May 2011 13:52:10 +0000 (+0200) Subject: fix a strict error in webdav X-Git-Tag: v3.0~267^2~558^2~15 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d23ecd0538b8d86941e1ff5e2d6908fb5df2a524;p=nextcloud-server.git fix a strict error in webdav --- diff --git a/lib/HTTP/WebDAV/Server/Filesystem.php b/lib/HTTP/WebDAV/Server/Filesystem.php index 9cebee48d7c..164892c9d86 100644 --- a/lib/HTTP/WebDAV/Server/Filesystem.php +++ b/lib/HTTP/WebDAV/Server/Filesystem.php @@ -586,8 +586,8 @@ $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 {