don't check cardnumber on member modify
Signed-off-by: Chris Cormack <crc@liblime.com>
This commit is contained in:
parent
7c7b136a75
commit
3d72e5fcca
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue