Fix minore

This commit is contained in:
pek5892 2024-06-04 16:41:20 +02:00
parent df968b47c9
commit 8cddd61f28
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ $r = $dbo->fetchOne('
`an_anagrafiche`.`pec`, `an_anagrafiche`.`pec`,
IF((`an_referenti`.`email` IS NOT NULL AND `an_referenti`.`email` != ""), `an_referenti`.`email`, `an_anagrafiche`.`email`) AS email, IF((`an_referenti`.`email` IS NOT NULL AND `an_referenti`.`email` != ""), `an_referenti`.`email`, `an_anagrafiche`.`email`) AS email,
`an_anagrafiche`.`idanagrafica`, `an_anagrafiche`.`idanagrafica`,
`an_referenti`.`nome` AS nome_referente, IF(`an_referenti`.`nome`,`an_referenti`.`nome`, \'\') AS nome_referente,
`an_anagrafiche`.`ragione_sociale` `an_anagrafiche`.`ragione_sociale`
FROM FROM
`co_contratti` `co_contratti`