diff --git a/htdocs/adherents/class/adherent.class.php b/htdocs/adherents/class/adherent.class.php index abc002b4e89..692008555bc 100644 --- a/htdocs/adherents/class/adherent.class.php +++ b/htdocs/adherents/class/adherent.class.php @@ -2319,7 +2319,7 @@ class Adherent extends CommonObject $labelStatus = $langs->trans("MemberStatusDraft"); $labelStatusShort = $langs->trans("MemberStatusDraftShort"); } elseif ($status >= self::STATUS_VALIDATED) { - if ($need_subscription == 0) { + if ($need_subscription === 0) { $statusType = 'status4'; $labelStatus = $langs->trans("MemberStatusNoSubscription"); $labelStatusShort = $langs->trans("MemberStatusNoSubscriptionShort");