From b11e7f929189fda5c7155349a6c4c668e6f78deb Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Mon, 21 Nov 2011 12:41:58 +0000 Subject: [PATCH] fixing an en/de- coding issue, regarding the attaching of an .eml file to the infolog in question when converting an email -with german umlauts within the subject line- to infolog and adding the original email to it. --- infolog/inc/class.infolog_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index a3e6f1201c..369c8923ca 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -2176,7 +2176,7 @@ class infolog_ui if ($GLOBALS['egw_info']['user']['preferences']['felamimail']['saveAsOptions']==='add_raw') { $message = $bofelamimail->getMessageRawBody($uid, $partid); - $headers = $bofelamimail->getMessageHeader($uid, $partid); + $headers = $bofelamimail->getMessageHeader($uid, $partid,true); $subject = str_replace('$$','__',($headers['SUBJECT']?$headers['SUBJECT']:lang('(no subject)'))); $attachment_file =tempnam($GLOBALS['egw_info']['server']['temp_dir'],$GLOBALS['egw_info']['flags']['currentapp']."_"); $tmpfile = fopen($attachment_file,'w');