From b79861f8cf824a9be7f45f1f7922c396ab7888d5 Mon Sep 17 00:00:00 2001 From: ralf Date: Wed, 28 Feb 2024 08:55:13 +0200 Subject: [PATCH] fix PHP Undefined index warning --- mail/inc/class.mail_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;