From 81eba961c84f34bd27c830e395696169b2554a60 Mon Sep 17 00:00:00 2001 From: Leho Kraav Date: Sun, 26 Dec 2010 16:34:29 +0200 Subject: [PATCH] feed.php: let's dbg_error_log peculiar VCALENDAR component instead of echo --- htdocs/feed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/feed.php b/htdocs/feed.php index 7e40b511..9fcc753f 100644 --- a/htdocs/feed.php +++ b/htdocs/feed.php @@ -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; }