summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-05-28 15:52:10 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-05-28 15:52:35 +0200
commitd23ecd0538b8d86941e1ff5e2d6908fb5df2a524 (patch)
treedf0bacac214d4c5fdec56fc99193ebbd0f061a83 /lib
parent5ccce7e45f7907c63673428c265a9dcca4fb5bcb (diff)
downloadnextcloud-server-d23ecd0538b8d86941e1ff5e2d6908fb5df2a524.tar.gz
nextcloud-server-d23ecd0538b8d86941e1ff5e2d6908fb5df2a524.zip
fix a strict error in webdav
Diffstat (limited to 'lib')
-rw-r--r--lib/HTTP/WebDAV/Server/Filesystem.php2
1 files changed, 1 insertions, 1 deletions
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 {