From cbb6e4effe97e8b408ce6060a657f37d974cf490 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 22 Oct 2020 19:32:32 +0200 Subject: [PATCH] FIX sql syntax error --- htdocs/compta/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/index.php b/htdocs/compta/index.php index cdf5a0e62c4..31352ee1bc9 100644 --- a/htdocs/compta/index.php +++ b/htdocs/compta/index.php @@ -163,7 +163,7 @@ if (!empty($conf->facture->enabled) && $user->rights->facture->lire) $sql .= " GROUP BY f.rowid, f.ref, f.datef, f.total, f.tva, f.total_ttc, f.ref_client, f.type, "; $sql .= "s.email, s.nom, s.rowid, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur"; - $sql .= ", cc.rowid as country_id, cc.code as country_code"; + $sql .= ", cc.rowid, cc.code"; // Add Group from hooks $parameters = array();