diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-06-15 17:05:10 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-06-19 23:18:07 +0200 |
commit | 0524f6fd3c0c2fdd06a082e4107dad5efc99dacf (patch) | |
tree | c51b63fc86ce94e03412648ddd93f2bce44eadc4 /lib/connector | |
parent | 2d4e1b45ce2486d6c44c85bd8463c2a27879d8ab (diff) | |
download | nextcloud-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.php | 2 |
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 )){ |