mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-23 17:26:02 +00:00
fix sync of deleted events when hide_todo is set (fixes #100)
thanks Jerome Borsboom @hinotori
This commit is contained in:
parent
74828c8c60
commit
1c174f4b78
@ -86,7 +86,7 @@ else {
|
||||
|
||||
$hide_todo = '';
|
||||
if ( isset($c->hide_TODO) && ($c->hide_TODO === true || (is_string($c->hide_TODO) && preg_match($c->hide_TODO, $_SERVER['HTTP_USER_AGENT']))) && ! $collection->HavePrivilegeTo('all') )
|
||||
$hide_todo = " AND caldav_data.caldav_type NOT IN ('VTODO') ";
|
||||
$hide_todo = " AND (caldav_data.caldav_type NOT IN ('VTODO') OR caldav_data.caldav_type IS NULL) ";
|
||||
|
||||
if ( $sync_token == 0 ) {
|
||||
$sql = <<<EOSQL
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user