From 1e79225a29acbb422834986db5a9716c49e16bb2 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 15 Sep 2010 13:10:29 +0000 Subject: [PATCH] removed explicit var parameter from Horde_iCalendar $component parameter of _ical2egw_callback, as all object are passed by reference in PHP5+, but usage via call_user_func_array(), gives warning as no (explicit) var parameters are allowed --- calendar/inc/class.calendar_ical.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_ical.inc.php b/calendar/inc/class.calendar_ical.inc.php index 0c6622cdd8..ae813d6f89 100644 --- a/calendar/inc/class.calendar_ical.inc.php +++ b/calendar/inc/class.calendar_ical.inc.php @@ -2163,7 +2163,7 @@ class calendar_ical extends calendar_boupdate * @param string $principalURL='' Used for CalDAV imports * @return array|boolean event array or false if $component is no Horde_iCalendar_vevent */ - function _ical2egw_callback(Horde_iCalendar &$component, $tzid, $principalURL='') + function _ical2egw_callback(Horde_iCalendar $component, $tzid, $principalURL='') { //unset($component->_container); _debug_array($component);