mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-03 12:00:09 +01:00
using capital REQUEST in method parameter
This commit is contained in:
parent
7aacef369a
commit
98135e4087
@ -1075,7 +1075,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')))
|
||||
@ -1091,7 +1091,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.');
|
||||
|
Loading…
Reference in New Issue
Block a user