From 1a526f1f7b919375fac7ff70bd2ad1de7d8ddb9f Mon Sep 17 00:00:00 2001 From: Beppe Date: Thu, 7 Jan 2021 18:15:02 +0100 Subject: [PATCH] =?UTF-8?q?Permetto=20da=20azioni=20di=20gruppo=20di=20cam?= =?UTF-8?q?biare=20lo=20stato=20completato=20delle=20attivit=C3=A0=20in=20?= =?UTF-8?q?altri=20stati=20completati?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/interventi/bulk.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/interventi/bulk.php b/modules/interventi/bulk.php index ec9611162..7471decea 100755 --- a/modules/interventi/bulk.php +++ b/modules/interventi/bulk.php @@ -142,7 +142,7 @@ switch (post('op')) { foreach ($id_records as $id) { $intervento = Intervento::find($id); - if (!$intervento->stato->is_completato) { + if ( !$intervento->stato->is_completato || ($intervento->stato->is_completato==$stato->is_completato) ) { $intervento->stato()->associate($stato); $intervento->save();