handle crippled messageID passed to loadEmailBody

This commit is contained in:
Klaus Leithoff 2016-02-11 13:03:28 +00:00
parent 401d984389
commit 5f1dc422f2

View File

@ -3370,6 +3370,8 @@ class mail_ui
$folder = $uidA['folder']; // all messages in one set are supposed to be within the same folder $folder = $uidA['folder']; // all messages in one set are supposed to be within the same folder
$messageID = $uidA['msgUID']; $messageID = $uidA['msgUID'];
$icServerID = $uidA['profileID']; $icServerID = $uidA['profileID'];
//something went wrong. there is a $_messageID but no $messageID: means $_messageID is crippeled
if (empty($messageID)) return "";
if ($icServerID && $icServerID != $this->mail_bo->profileID) if ($icServerID && $icServerID != $this->mail_bo->profileID)
{ {
//error_log(__METHOD__.__LINE__.' change Profile to ->'.$icServerID); //error_log(__METHOD__.__LINE__.' change Profile to ->'.$icServerID);