diff --git a/htdocs/adherents/class/adherentstats.class.php b/htdocs/adherents/class/adherentstats.class.php
index bdb174cc0bd..eff42f92a43 100644
--- a/htdocs/adherents/class/adherentstats.class.php
+++ b/htdocs/adherents/class/adherentstats.class.php
@@ -68,7 +68,7 @@ class AdherentStats extends Stats
$this->field = 'subscription';
- $this->where .= " m.statut != 0";
+ $this->where .= " m.statut != -1";
$this->where .= " AND p.fk_adherent = m.rowid AND m.entity IN (".getEntity('adherent').")";
//if (!$user->rights->societe->client->voir && !$user->socid) $this->where .= " AND p.fk_soc = sc.fk_soc AND sc.fk_user = " .$user->id;
if ($this->memberid)
diff --git a/htdocs/adherents/stats/byproperties.php b/htdocs/adherents/stats/byproperties.php
index 7927c2e3f00..3a6a7eb0342 100644
--- a/htdocs/adherents/stats/byproperties.php
+++ b/htdocs/adherents/stats/byproperties.php
@@ -108,19 +108,19 @@ dol_fiche_head($head, 'statsbyproperties', $langs->trans("Statistics"), -1, 'use
// Print title
if (!count($data))
{
- print $langs->trans("NoValidatedMemberYet").'
';
+ print ''.$langs->trans("NoValidatedMemberYet").'
';
print '
';
}
else
{
- print $langs->trans("MembersByNature").'
';
+ print ''.$langs->trans("MembersByNature").'
';
print '
';
}
// Print array
print '
| '.$langs->trans("Nature").' | '; +print ''.$langs->trans("MemberNature").' | '; print ''.$langs->trans("NbOfMembers").' | '; print ''.$langs->trans("LastMemberDate").' | '; print ''.$langs->trans("LatestSubscriptionDate").' | '; diff --git a/htdocs/adherents/stats/geo.php b/htdocs/adherents/stats/geo.php index 5b51008a9a2..db556c0eea7 100644 --- a/htdocs/adherents/stats/geo.php +++ b/htdocs/adherents/stats/geo.php @@ -221,13 +221,13 @@ if ($mode && !count($data)) } else { - if ($mode == 'memberbycountry') print $langs->trans("MembersByCountryDesc").'