mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-22 02:04:19 +00:00
Catch 'events' without a DTSTART gracefully and ignore them.
This commit is contained in:
parent
7e1a5905ad
commit
35a5518971
@ -944,6 +944,10 @@ EOSQL;
|
||||
*
|
||||
*/
|
||||
$dtstart_prop = $first->GetProperty('DTSTART');
|
||||
if ( empty($dtstart_prop) ) {
|
||||
dbg_error_log('PUT','Invalid VEVENT without DTSTART, UID="%s" in collection %d', $uid, $collection_id);
|
||||
continue;
|
||||
}
|
||||
$value_type = $dtstart_prop->GetParameterValue('VALUE');
|
||||
dbg_error_log('PUT','DTSTART without DTEND. DTSTART value type is %s', $value_type );
|
||||
if ( isset($value_type) && $value_type == 'DATE' )
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user