mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-21 01:54:23 +00:00
The 404 section of a sync-report response should be a <response>
Hangover from old code.
This commit is contained in:
parent
026c03d7a7
commit
3929c55c9d
@ -109,7 +109,7 @@ EOSQL;
|
|||||||
new XMLElement( 'href', ConstructURL($object->dav_name) ),
|
new XMLElement( 'href', ConstructURL($object->dav_name) ),
|
||||||
new XMLElement( 'status', display_status($object->sync_status) )
|
new XMLElement( 'status', display_status($object->sync_status) )
|
||||||
);
|
);
|
||||||
$responses[] = new XMLElement( 'sync-response', $resultset );
|
$responses[] = new XMLElement( 'response', $resultset );
|
||||||
$first_status = 404;
|
$first_status = 404;
|
||||||
}
|
}
|
||||||
else if ( $object->sync_status == 201 && $first_status == 404 ) {
|
else if ( $object->sync_status == 201 && $first_status == 404 ) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user