mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Fix webdav property name compare
This commit is contained in:
parent
2d4e1b45ce
commit
0524f6fd3c
1 changed files with 1 additions and 1 deletions
|
|
@ -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 )){
|
||||
|
|
|
|||
Loading…
Reference in a new issue