mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-05 13:39:23 +01:00
fix broken display of calendar meetings in preview
This commit is contained in:
parent
8ff56b1d5f
commit
021e37d014
@ -1579,16 +1579,16 @@ $this->partID = $partID;
|
|||||||
isset($GLOBALS['egw_info']['user']['apps']['calendar']) &&
|
isset($GLOBALS['egw_info']['user']['apps']['calendar']) &&
|
||||||
($attachment = $this->mail_bo->getAttachment($uid, $attach['partID'])))
|
($attachment = $this->mail_bo->getAttachment($uid, $attach['partID'])))
|
||||||
{
|
{
|
||||||
|
//error_log(__METHOD__.__LINE__.array2string($attachment));
|
||||||
egw_cache::setSession('calendar', 'ical', array(
|
egw_cache::setSession('calendar', 'ical', array(
|
||||||
'charset' => $attach['charset'] ? $attach['charset'] : 'utf-8',
|
'charset' => $attach['charset'] ? $attach['charset'] : 'utf-8',
|
||||||
'attachment' => $attachment['attachment'],
|
'attachment' => $attachment['attachment'],
|
||||||
'method' => $attach['method'],
|
'method' => $attach['method'],
|
||||||
'sender' => $sender,
|
'sender' => $sender,
|
||||||
));
|
));
|
||||||
return array("src"=>egw::link('/index.php',array(
|
return ExecMethod( 'calendar.calendar_uiforms.meeting',
|
||||||
'menuaction' => 'calendar.calendar_uiforms.meeting',
|
array('event'=>null,'msg'=>'','useSession'=>true)
|
||||||
'ical' => 'session',
|
);
|
||||||
)));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user