MERGE_UAT_BUG_FIXES
This commit is contained in:
commit
d44edd14fe
@ -4709,7 +4709,7 @@ class EmployeeRestController extends AdminController
|
||||
$config = $this->reminderMailConfigModel->getByClientPolicyId((int) $clientPolicyId);
|
||||
|
||||
if ($is_email_template) {
|
||||
if (empty($config)) {
|
||||
if (empty($config) || empty($config['email_subject'] ?? null) || empty($config['email_body'] ?? null)) {
|
||||
|
||||
$notification = $this->notificationModel->where('client_id', $clientPolicy['client_id'])->where('template_name', 'member_reminder_mail')->first();
|
||||
if (empty($notification)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user