From 3d72e5fccae918f1087a955c42bda4db88ea4649 Mon Sep 17 00:00:00 2001 From: Paul POULAIN Date: Fri, 10 Aug 2007 11:48:24 +0200 Subject: [PATCH] don't check cardnumber on member modify Signed-off-by: Chris Cormack --- members/memberentry.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/members/memberentry.pl b/members/memberentry.pl index c9e21220a2..10411f9610 100755 --- a/members/memberentry.pl +++ b/members/memberentry.pl @@ -149,7 +149,7 @@ if ($category_type eq 'C' and $guarantorid ne '' ){ # CHECKS step by step # STEP 1 if ($step eq 1) { - if (checkcardnumber($cardnumber)){ + if ($op eq 'add' && checkcardnumber($cardnumber)){ push @errors, 'ERROR_cardnumber'; $nok = 1; } -- 2.39.5