From 1bb63bb99bfd8a84f5b78119ffd7156bfe717469 Mon Sep 17 00:00:00 2001 From: Pek5892 Date: Fri, 29 Sep 2023 14:56:29 +0200 Subject: [PATCH] Fix salvataggio newsletter --- modules/newsletter/actions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/newsletter/actions.php b/modules/newsletter/actions.php index 71fb03f55..e054b1300 100755 --- a/modules/newsletter/actions.php +++ b/modules/newsletter/actions.php @@ -52,7 +52,7 @@ switch (filter('op')) { flash()->info(tr('Campagna newsletter salvata!')); - if ($newsletter->state = 'OK') { + if ($newsletter['state'] === 'OK') { $newsletter->completed_at = $newsletter->updated_at; }