make sure the class variable partID is up to date when calling display / printMessage

This commit is contained in:
Klaus Leithoff 2011-03-23 08:50:51 +00:00
parent 03e6b9bb94
commit b3f8a8d1f7

View File

@ -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');