We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 084e839 commit 444a216Copy full SHA for 444a216
1 file changed
modules/statistiche/edit.php
@@ -515,8 +515,8 @@ function init_calendar(calendar) {
515
`ragione_sociale` ASC");
516
517
$dataset = '';
518
-if ($_SESSION['superselect']['idtipiintervento'] != "[]") {
519
- $where = '`in_interventi_tecnici`.`id` IN('.implode(',', (array) json_decode((string) $_SESSION['superselect']['idtipiintervento'])).')';
+if ($_SESSION['superselect']['idtipiintervento'] && $_SESSION['superselect']['idtipiintervento']!= '[]') {
+ $where = '`in_interventi_tecnici`.`idtipointervento` IN('.implode(',', (array) json_decode((string) $_SESSION['superselect']['idtipiintervento'])).')';
520
} else {
521
$where = '1=1';
522
}
0 commit comments