Fix stampa scadenza

This commit is contained in:
Pek5892 2023-11-17 10:15:02 +01:00
parent 7572affced
commit 2fcff3c80c
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ if (!empty(get('date_end'))) {
$date_end = get('date_end');
}
if (get('id_anagrafica') != 'null') {
if (get('id_anagrafica') && get('id_anagrafica') != 'null') {
$module_query = str_replace('1=1', '1=1 AND co_scadenziario.idanagrafica="'.get('id_anagrafica').'"', $module_query);
$id_anagrafica = get('id_anagrafica');
}