FIX#19828
This commit is contained in:
Laurent Destailleur 2022-11-25 23:36:28 +01:00 committed by GitHub
commit 42d09f597c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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");