mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
make sure we use the current icServerID when calling import_mail
This commit is contained in:
parent
4b4308dcff
commit
90edebaa72
@ -2410,7 +2410,8 @@ else
|
|||||||
{
|
{
|
||||||
//echo __METHOD__.'<br>';
|
//echo __METHOD__.'<br>';
|
||||||
//_debug_array($_attachments);
|
//_debug_array($_attachments);
|
||||||
$bofelamimail = felamimail_bo::getInstance();
|
$icServerID =& egw_cache::getSession('felamimail','activeProfileID');
|
||||||
|
$bofelamimail = felamimail_bo::getInstance(true,$icServerID);
|
||||||
$bofelamimail->openConnection();
|
$bofelamimail->openConnection();
|
||||||
foreach ($_attachments as $attachment)
|
foreach ($_attachments as $attachment)
|
||||||
{
|
{
|
||||||
@ -2486,7 +2487,8 @@ else
|
|||||||
}
|
}
|
||||||
elseif ($uid && $mailbox)
|
elseif ($uid && $mailbox)
|
||||||
{
|
{
|
||||||
$bofelamimail = felamimail_bo::getInstance();
|
$icServerID =& egw_cache::getSession('felamimail','activeProfileID');
|
||||||
|
$bofelamimail = felamimail_bo::getInstance(true,$icServerID);
|
||||||
$bofelamimail->openConnection();
|
$bofelamimail->openConnection();
|
||||||
$bofelamimail->reopen($mailbox);
|
$bofelamimail->reopen($mailbox);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user