feed.php: let's dbg_error_log peculiar VCALENDAR component instead of echo

This commit is contained in:
Leho Kraav 2010-12-26 16:34:29 +02:00 committed by Andrew McMillan
parent 37cf2f618d
commit 81eba961c8

View File

@ -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;
}