From f82284cd996082273e32734455d8fe20b7901f51 Mon Sep 17 00:00:00 2001 From: Joshua Ferraro Date: Thu, 4 Oct 2007 13:45:31 -0500 Subject: [PATCH] adding support for M and N sex Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- members/memberentry.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/members/memberentry.pl b/members/memberentry.pl index 3257dfc2fc..1dd216ab05 100755 --- a/members/memberentry.pl +++ b/members/memberentry.pl @@ -260,6 +260,10 @@ if ($nok){ $data{'cardnumber'}=fixup_cardnumber($data{'cardnumber'}) if $op eq 'add'; if ($data{'sex'} eq 'F'){ $template->param(female => 1); + } elsif ($data{'sex'} eq 'M'){ + $template->param(mail => 1); + } else ($data{'sex'} eq 'N'){ + $template->param(none => 1); } my ($categories,$labels)=ethnicitycategories(); -- 2.39.5