Fix webdav property name compare

This commit is contained in:
Bart Visscher 2012-06-15 17:05:10 +02:00
parent 2d4e1b45ce
commit 0524f6fd3c

View 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 )){