diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index ead339b782..f50c176db0 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -4083,7 +4083,7 @@ $filter['before']= date("d-M-Y", $cutoffdate2); $this->changeProfile($icServerID); } - $bodyResponse = $this->get_load_email_data($messageID,$_partID,$folder,$_htmloptions, $_POST['smime_passphrase']); + $bodyResponse = $this->get_load_email_data($messageID,$_partID,$folder,$_htmloptions, $_POST['smime_passphrase'] ?? null); //error_log(array2string($bodyResponse)); echo $bodyResponse;