forked from CMS/memberPlumbing
Also check for "Membership on hold" membership level, not just label
This commit is contained in:
parent
f94a27699c
commit
995b6f9763
@ -72,7 +72,10 @@ class MembershipworksMember(Member):
|
||||
else:
|
||||
self.credentials = set()
|
||||
|
||||
self.onHold = data["Account on Hold"] != ""
|
||||
self.onHold = (
|
||||
data["Account on Hold"] != ""
|
||||
or data["CMS Membership on hold"] == "CMS Membership on hold"
|
||||
)
|
||||
self.formerMember = formerMember
|
||||
|
||||
levels = {k: v for k, v in config.memberLevels.items() if data[k] == k}
|
||||
|
Loading…
Reference in New Issue
Block a user