From 68639c69f8ccc246c5ab1a3eb6951eee58878305 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cornelius=20Wei=C3=9F?= Date: Sun, 14 Jan 2007 08:09:22 +0000 Subject: [PATCH] fixed ishues found by jerryr: Subject was not working and saving from subfolders was not working --- infolog/inc/class.uiinfolog.inc.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/infolog/inc/class.uiinfolog.inc.php b/infolog/inc/class.uiinfolog.inc.php index e89881797c..aa5936569a 100644 --- a/infolog/inc/class.uiinfolog.inc.php +++ b/infolog/inc/class.uiinfolog.inc.php @@ -1174,6 +1174,7 @@ class uiinfolog $bofelamimail =& CreateObject('felamimail.bofelamimail',$GLOBALS['egw']->translation->charset()); $bopreferences =& CreateObject('felamimail.bopreferences'); $bofelamimail->openConnection(); + $bofelamimail->reopen($mailbox); $headers = $bofelamimail->getMessageHeader($uid); $bodyParts = $bofelamimail->getMessageBody($uid,''); @@ -1181,8 +1182,8 @@ class uiinfolog if (isset($headers['FROM'])) $mailaddress = $bofelamimail->decode_header($headers['FROM']); elseif (isset($headers['SENDER'])) $mailaddress = $bofelamimail->decode_header($headers['SENDER']); - - $subject = $bofelamimail->decode_header($headers->Subject); + + $subject = $bofelamimail->decode_header($headers['SUBJECT']); for($i=0; $i