fix PHP Undefined index warning

This commit is contained in:
ralf 2024-02-28 08:55:13 +02:00
parent c931ab2a8f
commit b79861f8cf

View File

@ -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;