summaryrefslogtreecommitdiffstats
path: root/lib/connector
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-06-15 17:05:10 +0200
committerBart Visscher <bartv@thisnet.nl>2012-06-19 23:18:07 +0200
commit0524f6fd3c0c2fdd06a082e4107dad5efc99dacf (patch)
treec51b63fc86ce94e03412648ddd93f2bce44eadc4 /lib/connector
parent2d4e1b45ce2486d6c44c85bd8463c2a27879d8ab (diff)
downloadnextcloud-server-0524f6fd3c0c2fdd06a082e4107dad5efc99dacf.tar.gz
nextcloud-server-0524f6fd3c0c2fdd06a082e4107dad5efc99dacf.zip
Fix webdav property name compare
Diffstat (limited to 'lib/connector')
-rw-r--r--lib/connector/sabre/node.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connector/sabre/node.php b/lib/connector/sabre/node.php
index b9a17e3b392..c824ad0ead0 100644
--- a/lib/connector/sabre/node.php
+++ b/lib/connector/sabre/node.php
@@ -129,7 +129,7 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr
}
}
else {
- if( strcmp( $propertyName, "lastmodified")) {
+ if( strcmp( $propertyName, "lastmodified") === 0) {
$this->touch($propertyValue);
} else {
if(!array_key_exists( $propertyName, $existing )){