From 73e3e5599d3e14f0e8eeb93fab7c6ebdace84ec6 Mon Sep 17 00:00:00 2001 From: Pek5892 Date: Tue, 28 May 2024 10:17:03 +0200 Subject: [PATCH] Fix minore --- update/2_5_2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update/2_5_2.php b/update/2_5_2.php index 17f1c9705..f9ee5d5d6 100644 --- a/update/2_5_2.php +++ b/update/2_5_2.php @@ -4,7 +4,7 @@ include_once __DIR__.'/core.php'; use Modules\PrimaNota\Mastrino; -$mastrini = Mastrino::where('primanota', 1)->groupBy('idmastrino')->get(); +$mastrini = Mastrino::where('primanota', 1)->where('id_scadenza','!=', null)->groupBy('idmastrino')->get(); foreach ($mastrini as $mastrino) { $mastrino->aggiornaScadenzario(); }