Skip to content

Commit

Permalink
don't check cardnumber on member modify
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Cormack <crc@liblime.com>
  • Loading branch information
Paul POULAIN authored and Chris Cormack committed Aug 10, 2007
1 parent 7c7b136 commit 3d72e5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion members/memberentry.pl
Expand Up @@ -149,7 +149,7 @@
# 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;
}
Expand Down

0 comments on commit 3d72e5f

Please sign in to comment.