mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-03-13 09:40:18 +01:00
fix: #1622 selettore tipoattività in statistiche
This commit is contained in:
parent
084e839a38
commit
444a21651a
@ -515,8 +515,8 @@ ORDER BY
|
|||||||
`ragione_sociale` ASC");
|
`ragione_sociale` ASC");
|
||||||
|
|
||||||
$dataset = '';
|
$dataset = '';
|
||||||
if ($_SESSION['superselect']['idtipiintervento'] != "[]") {
|
if ($_SESSION['superselect']['idtipiintervento'] && $_SESSION['superselect']['idtipiintervento']!= '[]') {
|
||||||
$where = '`in_interventi_tecnici`.`id` IN('.implode(',', (array) json_decode((string) $_SESSION['superselect']['idtipiintervento'])).')';
|
$where = '`in_interventi_tecnici`.`idtipointervento` IN('.implode(',', (array) json_decode((string) $_SESSION['superselect']['idtipiintervento'])).')';
|
||||||
} else {
|
} else {
|
||||||
$where = '1=1';
|
$where = '1=1';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user