From a0165c9a278be33a018cc93f4a4fbb71421ca7ad Mon Sep 17 00:00:00 2001 From: Beppe Date: Wed, 6 Nov 2024 09:10:02 +0100 Subject: [PATCH] Fix: correzione filtro tipologia in statistiche --- modules/statistiche/edit.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/statistiche/edit.php b/modules/statistiche/edit.php index c9e86f3bb..7071ded71 100755 --- a/modules/statistiche/edit.php +++ b/modules/statistiche/edit.php @@ -791,7 +791,11 @@ $(".shorten").shorten({ }); $("#idtipiintervento").change(function(){ - let idtipi = JSON.stringify($(this).val()); + let tipi = ""; + if( $(this).val() ){ + idtipi = JSON.stringify($(this).val()); + } + session_set("superselect,idtipiintervento",idtipi,0); location.reload(); });