mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 10:23:28 +01:00
make sure the class variable partID is up to date when calling display / printMessage
This commit is contained in:
parent
03e6b9bb94
commit
b3f8a8d1f7
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user