missed failout return from email validator

This commit is contained in:
Tom Bloor 2017-04-26 20:58:24 +01:00
parent 7614b7bc2e
commit 56fc868786

View file

@ -35,6 +35,7 @@ sub register {
return 1 unless defined( $postcode );
return 1 if $postcode->partial;
return undef if $postcode->valid;
return 1;
});
$app->validator->add_check( number => sub {