From b3f8a8d1f7c1119c7cbe8468613864c9f82d6c35 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Wed, 23 Mar 2011 08:50:51 +0000 Subject: [PATCH] make sure the class variable partID is up to date when calling display / printMessage --- felamimail/inc/class.uidisplay.inc.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/felamimail/inc/class.uidisplay.inc.php b/felamimail/inc/class.uidisplay.inc.php index afa294162a..34ae75759f 100644 --- a/felamimail/inc/class.uidisplay.inc.php +++ b/felamimail/inc/class.uidisplay.inc.php @@ -55,6 +55,9 @@ // the permanent id of the message var $uid; + // the part of a message + var $partID; + var $bofelamimail; var $bopreferences; @@ -253,7 +256,7 @@ function display() { - $partID = $_GET['part']; + $partID = $this->partID = $_GET['part']; if (!empty($_GET['mailbox'])) $this->mailbox = base64_decode($_GET['mailbox']); //$transformdate =& CreateObject('felamimail.transformdate'); @@ -1346,7 +1349,7 @@ function printMessage($messageId = NULL, $callfromcompose = NULL) { if (!empty($messageId) && empty($this->uid)) $this->uid = $messageId; - $partID = $_GET['part']; + $partID = $this->partID = $_GET['part']; if (!empty($_GET['folder'])) $this->mailbox = base64_decode($_GET['folder']); //$transformdate =& CreateObject('felamimail.transformdate');