fix a strict error in webdav
This commit is contained in:
parent
5ccce7e45f
commit
d23ecd0538
|
@ -586,8 +586,8 @@
|
||||||
$path=$options['path'];
|
$path=$options['path'];
|
||||||
$name=$prop['name'];
|
$name=$prop['name'];
|
||||||
$ns=$prop['ns'];
|
$ns=$prop['ns'];
|
||||||
$val=$prop['val'];
|
|
||||||
if (isset($prop["val"])) {
|
if (isset($prop["val"])) {
|
||||||
|
$val=$prop['val'];
|
||||||
$query = OC_DB::prepare("REPLACE INTO *PREFIX*properties (path,name,ns,value) VALUES(?,?,?,?)");
|
$query = OC_DB::prepare("REPLACE INTO *PREFIX*properties (path,name,ns,value) VALUES(?,?,?,?)");
|
||||||
$query->execute(array($path,$name,$ns,$val));
|
$query->execute(array($path,$name,$ns,$val));
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue