mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
using capital REQUEST in method parameter
This commit is contained in:
parent
3778191a20
commit
6e79741c8f
@ -1040,7 +1040,7 @@ class calendar_uiforms extends calendar_ui
|
|||||||
$boical = new calendar_ical();
|
$boical = new calendar_ical();
|
||||||
// we need to pass $event[id] so iCal class reads event again,
|
// we need to pass $event[id] so iCal class reads event again,
|
||||||
// as event is in user TZ, but iCal class expects server TZ!
|
// 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');
|
$ics_file = tempnam($GLOBALS['egw_info']['server']['temp_dir'],'ics');
|
||||||
if(($f = fopen($ics_file,'w')))
|
if(($f = fopen($ics_file,'w')))
|
||||||
@ -1056,7 +1056,7 @@ class calendar_uiforms extends calendar_ui
|
|||||||
'preset[body]' => $body,
|
'preset[body]' => $body,
|
||||||
'preset[name]' => 'event.ics',
|
'preset[name]' => 'event.ics',
|
||||||
'preset[file]' => $ics_file,
|
'preset[file]' => $ics_file,
|
||||||
'preset[type]' => 'text/calendar'.($asrequest?'; method=request':''),
|
'preset[type]' => 'text/calendar'.($asrequest?'; method=REQUEST':''),
|
||||||
'preset[size]' => filesize($ics_file),
|
'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.');
|
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