mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
* Mail/SMIME: fix signed calendar events not being displayed (error:importing the ical!)
This commit is contained in:
parent
05405b955a
commit
c8d2f535d9
@ -3314,7 +3314,8 @@ $filter['before']= date("d-M-Y", $cutoffdate2);
|
|||||||
if ($calendar_part && isset($GLOBALS['egw_info']['user']['apps']['calendar']))
|
if ($calendar_part && isset($GLOBALS['egw_info']['user']['apps']['calendar']))
|
||||||
{
|
{
|
||||||
$charset = $calendar_part->getContentTypeParameter('charset');
|
$charset = $calendar_part->getContentTypeParameter('charset');
|
||||||
$this->mail_bo->fetchPartContents($uid, $calendar_part);
|
// Do not try to fetch raw part content if it's smime signed message
|
||||||
|
if (!$smime) $this->mail_bo->fetchPartContents($uid, $calendar_part);
|
||||||
Api\Cache::setSession('calendar', 'ical', array(
|
Api\Cache::setSession('calendar', 'ical', array(
|
||||||
'charset' => $charset ? $charset : 'utf-8',
|
'charset' => $charset ? $charset : 'utf-8',
|
||||||
'attachment' => $calendar_part->getContents(),
|
'attachment' => $calendar_part->getContents(),
|
||||||
|
Loading…
Reference in New Issue
Block a user