1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-25 15:22:24 +01:00

Fix stampa scadenza

This commit is contained in:
Pek5892 2023-11-17 10:15:02 +01:00
parent 7572affced
commit 2fcff3c80c

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');
}