From 34202162058065b727c784f77591475cbaf9e8f2 Mon Sep 17 00:00:00 2001 From: Julien Nahum Date: Thu, 28 Mar 2024 19:03:09 +0100 Subject: [PATCH] Email notifications in the free plan --- app/Service/Forms/Integrations/EmailIntegration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Service/Forms/Integrations/EmailIntegration.php b/app/Service/Forms/Integrations/EmailIntegration.php index 5a4942c6..8e362ef6 100644 --- a/app/Service/Forms/Integrations/EmailIntegration.php +++ b/app/Service/Forms/Integrations/EmailIntegration.php @@ -19,7 +19,7 @@ class EmailIntegration extends AbstractIntegrationHandler protected function shouldRun(): bool { - return !(!$this->form->is_pro || !$this->integrationData->notification_emails) && parent::shouldRun(); + return $this->integrationData->notification_emails && parent::shouldRun(); } public function handle(): void