export of multiple events via day-range produced vCal (ver. 1.0) instead of iCal (ver. 2.0)

This commit is contained in:
Ralf Becker 2006-04-10 06:33:20 +00:00
parent d2efe3d579
commit 71207ba7d6

View File

@ -1145,7 +1145,7 @@ class uiforms extends uical
} }
else else
{ {
$ical =& ExecMethod('calendar.boical.exportVCal',$events,'2.0'/*$content['version']*/); $ical =& ExecMethod2('calendar.boical.exportVCal',$events,'2.0'/*$content['version']*/);
$GLOBALS['egw']->browser =& CreateObject('phpgwapi.browser'); $GLOBALS['egw']->browser =& CreateObject('phpgwapi.browser');
$GLOBALS['egw']->browser->content_header($content['file'] ? $content['file'] : 'event.ics','text/calendar',strlen($ical)); $GLOBALS['egw']->browser->content_header($content['file'] ? $content['file'] : 'event.ics','text/calendar',strlen($ical));
echo $ical; echo $ical;