mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-03-12 17:20:08 +01:00
fix: #1622 selettore tipoattività in statistiche
This commit is contained in:
parent
8059f3924d
commit
18c2b2ba00
@ -515,8 +515,8 @@ ORDER BY
|
||||
`ragione_sociale` ASC");
|
||||
|
||||
$dataset = '';
|
||||
if ($_SESSION['superselect']['idtipiintervento'] != '[]') {
|
||||
$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'])).')';
|
||||
} else {
|
||||
$where = '1=1';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user