fix for 564

This commit is contained in:
tipaul 2003-12-18 17:02:13 +00:00
parent 8a7d5ff66c
commit ede44ae947

View file

@ -77,7 +77,7 @@ if ($data{'cardnumber'} eq ''){
} else {
#check cardnumber is valid
my $nounique;
if ( $data{'type'} ne "Add" ) {
if ( $data{'type'} eq "Add" ) {
$nounique = 0;
} else {
$nounique = 1;