mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-30 03:24:47 +00:00
feed.php: let's dbg_error_log peculiar VCALENDAR component instead of echo
This commit is contained in:
parent
37cf2f618d
commit
81eba961c8
@ -100,7 +100,7 @@ function caldav_get_feed( $request ) {
|
||||
$type = (count($event_data) ? $event_data[0]->GetType() : 'null');
|
||||
|
||||
if ( ($type!= 'VEVENT' && $type != 'VTODO' && $type != 'VJOURNAL') ) {
|
||||
echo "Skipping peculiar '$type' component in VCALENDAR\n";
|
||||
dbg_error_log( 'feed', 'Skipping peculiar "%s" component in VCALENDAR', $type );
|
||||
var_dump($ical);
|
||||
continue;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user