fix a strict error in webdav

This commit is contained in:
Robin Appelman 2011-05-28 15:52:10 +02:00
parent 5ccce7e45f
commit d23ecd0538
1 changed files with 1 additions and 1 deletions

View File

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