mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-22 21:30:54 +01:00
* eMail: fix problem with lost connection on drafted message when using printPreview on messages with attachments
This commit is contained in:
parent
74f27b0f90
commit
28e54a01e5
@ -148,6 +148,8 @@
|
||||
return;
|
||||
}
|
||||
$uidisplay = CreateObject('felamimail.uidisplay');
|
||||
// since we reuse the bofelamimail object, an open connection may not be reusable
|
||||
if ($uidisplay->bofelamimail->icServer->_connected == 1) $uidisplay->bofelamimail->closeConnection();
|
||||
$uidisplay->printMessage($messageUid, $formData['printit'],$destinationFolder);
|
||||
//egw::link('/index.php',array('menuaction' => 'felamimail.uidisplay.printMessage','uid'=>$messageUid));
|
||||
return;
|
||||
@ -350,7 +352,7 @@
|
||||
$GLOBALS['egw_info']['server']['contact_repository'] == 'sql')
|
||||
{
|
||||
$accounts = $GLOBALS['egw']->contacts->search($_searchCond,array('n_fn','email','email_home'),'n_fn','','%',false,'OR',array(0,100),array('owner' => 0));
|
||||
|
||||
|
||||
if ($contacts && $accounts)
|
||||
{
|
||||
$contacts = array_merge($contacts,$accounts);
|
||||
|
Loading…
Reference in New Issue
Block a user