diff --git a/htdocs/adherents/index.php b/htdocs/adherents/index.php index 7c723257d86..a750a33ee4f 100644 --- a/htdocs/adherents/index.php +++ b/htdocs/adherents/index.php @@ -37,7 +37,7 @@ $var=True; $sql = "SELECT count(*) as somme , t.libelle FROM llx_adherent as d, llx_adherent_type as t"; -$sql .= " WHERE d.fk_adherent_type = t.rowid AND statut = 1 GROUP BY t.libelle"; +$sql .= " WHERE d.fk_adherent_type = t.rowid AND d.statut = 1 GROUP BY t.libelle"; $result = $db->query($sql); @@ -51,7 +51,7 @@ if ($result) $var=!$var; print ""; - print ''.$objp->libelle.''; + print ''.$objp->libelle.''; print ''.$objp->somme.''; print "";