mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-22 21:30:54 +01:00
make sure the class variable partID is up to date when calling display / printMessage
This commit is contained in:
parent
8d8ddf64ba
commit
28fe53bfa1
@ -55,6 +55,9 @@
|
||||
|
||||
// the permanent id of the message
|
||||
var $uid;
|
||||
// part of the 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');
|
||||
@ -1420,7 +1423,7 @@ pre {
|
||||
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');
|
||||
|
Loading…
Reference in New Issue
Block a user