]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix webdav property name compare
authorBart Visscher <bartv@thisnet.nl>
Fri, 15 Jun 2012 15:05:10 +0000 (17:05 +0200)
committerBart Visscher <bartv@thisnet.nl>
Tue, 19 Jun 2012 21:18:07 +0000 (23:18 +0200)
lib/connector/sabre/node.php

index b9a17e3b392e0a850995ab691ab3a937f18f2bfb..c824ad0ead0156f1025d77f87fc3163b4bf2fe13 100644 (file)
@@ -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 )){