From 023453e73be934bc79fd050d5549a8b69a0b25a8 Mon Sep 17 00:00:00 2001 From: daraelmin Date: Mon, 14 Jun 2021 12:45:13 +0200 Subject: [PATCH] Update geo.php --- htdocs/adherents/stats/geo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/adherents/stats/geo.php b/htdocs/adherents/stats/geo.php index ea7730dbb3b..16dfc3ccff6 100644 --- a/htdocs/adherents/stats/geo.php +++ b/htdocs/adherents/stats/geo.php @@ -142,7 +142,7 @@ if ($mode) { $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."c_country as c on d.country = c.rowid"; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."subscription as s ON s.fk_adherent = d.rowid"; $sql .= " WHERE d.entity IN (".getEntity('adherent').")"; - $sql .= " AND d.statut <> "Adherent::STATUS_DRAFT; + $sql .= " AND d.statut <> ".Adherent::STATUS_DRAFT; $sql .= " GROUP BY c.label, c.code, d.town"; //print $sql; }