View | Details | Raw Unified | Return to bug 33940
Collapse All | Expand All

(-)a/members/memberentry.pl (-3 / +2 lines)
Lines 298-306 if ($op eq 'save' || $op eq 'insert'){ Link Here
298
        for my $m ( @{ $is_valid->messages } ) {
298
        for my $m ( @{ $is_valid->messages } ) {
299
            my $message = $m->message;
299
            my $message = $m->message;
300
            if ( $message eq 'already_exists' ) {
300
            if ( $message eq 'already_exists' ) {
301
                push @messages, { code => 'ERROR_cardnumber_already_exists' };
301
                $template->param( ERROR_cardnumber_already_exists => 1 );
302
            } elsif ( $message eq 'invalid_length' ) {
302
            } elsif ( $message eq 'invalid_length' ) {
303
                push @messages, { code => 'ERROR_cardnumber_length' };
303
                $template->param( ERROR_cardnumber_length => 1 );
304
            }
304
            }
305
        }
305
        }
306
    }
306
    }
307
- 

Return to bug 33940