From 6e79741c8f218f4a5584ac9e196274fcfffb81a0 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 5 Feb 2014 15:15:00 +0000 Subject: [PATCH] using capital REQUEST in method parameter --- calendar/inc/class.calendar_uiforms.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/inc/class.calendar_uiforms.inc.php b/calendar/inc/class.calendar_uiforms.inc.php index 9420d97be1..98243e454f 100644 --- a/calendar/inc/class.calendar_uiforms.inc.php +++ b/calendar/inc/class.calendar_uiforms.inc.php @@ -1040,7 +1040,7 @@ class calendar_uiforms extends calendar_ui $boical = new calendar_ical(); // we need to pass $event[id] so iCal class reads event again, // as event is in user TZ, but iCal class expects server TZ! - $ics = $boical->exportVCal(array($event['id']),'2.0','request',false); + $ics = $boical->exportVCal(array($event['id']),'2.0','REQUEST',false); $ics_file = tempnam($GLOBALS['egw_info']['server']['temp_dir'],'ics'); if(($f = fopen($ics_file,'w'))) @@ -1056,7 +1056,7 @@ class calendar_uiforms extends calendar_ui 'preset[body]' => $body, 'preset[name]' => 'event.ics', 'preset[file]' => $ics_file, - 'preset[type]' => 'text/calendar'.($asrequest?'; method=request':''), + 'preset[type]' => 'text/calendar'.($asrequest?'; method=REQUEST':''), 'preset[size]' => filesize($ics_file), ); if ($asrequest) $vars['preset[msg]'] = lang('You attempt to mail a meetingrequest to the recipients above. Depending on the client this mail is opened with, the recipient may or may not see the mailbody below, but only see the meeting request attached.');