From 56fc868786587f9e72a8f1199e796153d8bca98b Mon Sep 17 00:00:00 2001 From: Tom Bloor Date: Wed, 26 Apr 2017 20:58:24 +0100 Subject: [PATCH] missed failout return from email validator --- lib/Pear/LocalLoop/Plugin/Validators.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Pear/LocalLoop/Plugin/Validators.pm b/lib/Pear/LocalLoop/Plugin/Validators.pm index ecdefb7..6722424 100644 --- a/lib/Pear/LocalLoop/Plugin/Validators.pm +++ b/lib/Pear/LocalLoop/Plugin/Validators.pm @@ -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 {