We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24d8706 commit 8977e6eCopy full SHA for 8977e6e
1 file changed
modules/emails/ajax/complete.php
@@ -70,7 +70,7 @@
70
$query = "
71
SELECT DISTINCT($table.$email_column) AS email,
72
$table.idanagrafica,
73
- $name_column AS ragione_sociale
+ $table.$name_column AS ragione_sociale
74
FROM $table
75
INNER JOIN an_anagrafiche ON an_anagrafiche.idanagrafica = $table.idanagrafica
76
INNER JOIN an_tipianagrafiche_anagrafiche ON an_tipianagrafiche_anagrafiche.idanagrafica = an_anagrafiche.idanagrafica
@@ -87,7 +87,7 @@
87
$addResults($fetchEmails('an_sedi', 'email', 'nomesede'));
88
89
// Tutti i referenti
90
- $addResults($fetchEmails('an_referenti', 'email', 'an_referenti.nome'));
+ $addResults($fetchEmails('an_referenti', 'email', 'nome'));
91
92
echo json_encode($results);
93
0 commit comments