From 35182d2efc534be63210b5ec3b5fe7ec3a85f0ef Mon Sep 17 00:00:00 2001 From: Pek5892 Date: Thu, 7 Sep 2023 09:32:53 +0200 Subject: [PATCH] Fix minore --- modules/newsletter/actions.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/newsletter/actions.php b/modules/newsletter/actions.php index 9cf5f4258..0cfb306bd 100755 --- a/modules/newsletter/actions.php +++ b/modules/newsletter/actions.php @@ -52,6 +52,12 @@ switch (filter('op')) { flash()->info(tr('Campagna newsletter salvata!')); + if($newsletter->state = "OK") { + $newsletter->completed_at = $newsletter -> updated_at; + }; + + $newsletter->save(); + break; case 'delete':