From bb6e8404671c2e7421c1fef004376d198113f2cc Mon Sep 17 00:00:00 2001 From: tipaul Date: Mon, 26 Jan 2004 10:50:07 +0000 Subject: [PATCH] moving "sex" field value to templates (for translation purposes) --- newmember.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/newmember.pl b/newmember.pl index 4de8406a97..01aafd434b 100755 --- a/newmember.pl +++ b/newmember.pl @@ -126,9 +126,9 @@ if ($ok == 0) { $name.="$data{'surname'} ( $data{'firstname'}, $data{'initials'})"; my $sex; if ($data{'sex'} eq 'M'){ - $sex="Male"; + $sex=1; } else { - $sex="Female"; + $sex=0; } if ($data{'joining'} eq ''){ $data{'joining'}=ParseDate('today'); -- 2.39.5