From 021e37d014e8e8d373c01e7b683c02b38dcaae6b Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Mon, 3 Jun 2013 09:58:27 +0000 Subject: [PATCH] fix broken display of calendar meetings in preview --- mail/inc/class.mail_ui.inc.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index d5784bb815..d7144ec854 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -1579,16 +1579,16 @@ $this->partID = $partID; isset($GLOBALS['egw_info']['user']['apps']['calendar']) && ($attachment = $this->mail_bo->getAttachment($uid, $attach['partID']))) { + //error_log(__METHOD__.__LINE__.array2string($attachment)); egw_cache::setSession('calendar', 'ical', array( 'charset' => $attach['charset'] ? $attach['charset'] : 'utf-8', 'attachment' => $attachment['attachment'], 'method' => $attach['method'], 'sender' => $sender, )); - return array("src"=>egw::link('/index.php',array( - 'menuaction' => 'calendar.calendar_uiforms.meeting', - 'ical' => 'session', - ))); + return ExecMethod( 'calendar.calendar_uiforms.meeting', + array('event'=>null,'msg'=>'','useSession'=>true) + ); } }