diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index d698787d41..d556e49359 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -2410,7 +2410,8 @@ else { //echo __METHOD__.'
'; //_debug_array($_attachments); - $bofelamimail = felamimail_bo::getInstance(); + $icServerID =& egw_cache::getSession('felamimail','activeProfileID'); + $bofelamimail = felamimail_bo::getInstance(true,$icServerID); $bofelamimail->openConnection(); foreach ($_attachments as $attachment) { @@ -2486,7 +2487,8 @@ else } elseif ($uid && $mailbox) { - $bofelamimail = felamimail_bo::getInstance(); + $icServerID =& egw_cache::getSession('felamimail','activeProfileID'); + $bofelamimail = felamimail_bo::getInstance(true,$icServerID); $bofelamimail->openConnection(); $bofelamimail->reopen($mailbox);