Skip to content
Snippets Groups Projects
Commit d23ecd05 authored by Robin Appelman's avatar Robin Appelman
Browse files

fix a strict error in webdav

parent 5ccce7e4
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment