From b5ab1f612c9b3fb8561610e32326e1880989e493 Mon Sep 17 00:00:00 2001 From: IC-Ilies Date: Fri, 25 Nov 2022 22:29:35 +0100 Subject: [PATCH] FIX#19828 --- htdocs/adherents/class/adherent.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");