From 8cddd61f288b0d70ce87e5ebcd1e3dd84218792b Mon Sep 17 00:00:00 2001 From: pek5892 Date: Tue, 4 Jun 2024 16:41:20 +0200 Subject: [PATCH] Fix minore --- modules/contratti/variables.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/contratti/variables.php b/modules/contratti/variables.php index 5dd85d48a..6c5689932 100755 --- a/modules/contratti/variables.php +++ b/modules/contratti/variables.php @@ -24,7 +24,7 @@ $r = $dbo->fetchOne(' `an_anagrafiche`.`pec`, IF((`an_referenti`.`email` IS NOT NULL AND `an_referenti`.`email` != ""), `an_referenti`.`email`, `an_anagrafiche`.`email`) AS email, `an_anagrafiche`.`idanagrafica`, - `an_referenti`.`nome` AS nome_referente, + IF(`an_referenti`.`nome`,`an_referenti`.`nome`, \'\') AS nome_referente, `an_anagrafiche`.`ragione_sociale` FROM `co_contratti`