Skip to content

Commit

Permalink
fix: selezione tipo attività in statistiche
Browse files Browse the repository at this point in the history
  • Loading branch information
Pek5892 committed Mar 3, 2025
1 parent f74fb82 commit 44d4a53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/statistiche/edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ function init_calendar(calendar) {
`ragione_sociale` ASC");

$dataset = '';
if (is_array($_SESSION['superselect']['idtipiintervento'])) {
if ($_SESSION['superselect']['idtipiintervento'] != "[]") {
$where = '`in_interventi_tecnici`.`id` IN('.implode(',', (array) json_decode((string) $_SESSION['superselect']['idtipiintervento'])).')';
} else {
$where = '1=1';
Expand Down

0 comments on commit 44d4a53

Please sign in to comment.