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
$messageID = $uidA['msgUID'];
$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)
{
//error_log(__METHOD__.__LINE__.' change Profile to ->'.$icServerID);