Fix error message type

This commit is contained in:
Hadi Nategh 2021-04-13 16:13:24 +02:00
parent 38ef0e0a94
commit 3f989f33d1

View File

@ -3284,7 +3284,7 @@ $filter['before']= date("d-M-Y", $cutoffdate2);
$acc_smime = Mail\Smime::get_acc_smime($this->mail_bo->profileID);
if (empty($acc_smime))
{
self::callWizard($e->getMessage().' '.lang('Please configure your S/MIME certificate in Encryption tab located at Edit Account dialog.'));
self::callWizard($e->getMessage().' '.lang('Please configure your S/MIME certificate in Encryption tab located at Edit Account dialog.'), true, 'error');
}
Framework::message($e->getMessage());
$configs = Api\Config::read('mail');