don't check cardnumber on member modify

Signed-off-by: Chris Cormack <crc@liblime.com>
This commit is contained in:
Paul POULAIN 2007-08-10 11:48:24 +02:00 committed by Chris Cormack
parent 7c7b136a75
commit 3d72e5fcca
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}