aboutsummaryrefslogtreecommitdiffstats
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-15 21:21:42 +0200
commit463a506fcb2ec9c5e219434654ec5c5e0d8f834b (patch)
treeeb811e0f77d72edb900a1e116aa22103783f04f7 /lib/connector
parent27efdbd58f284c054ae9150ff2a2b0dcb5fab70f (diff)
downloadnextcloud-server-463a506fcb2ec9c5e219434654ec5c5e0d8f834b.tar.gz
nextcloud-server-463a506fcb2ec9c5e219434654ec5c5e0d8f834b.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 8a860242f28..7a9d8198ae8 100644
--- a/lib/connector/sabre/node.php
+++ b/lib/connector/sabre/node.php
@@ -139,7 +139,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 )){