From 638a83845c0479a93525620855f94b5178a87677 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 26 Feb 2015 18:30:10 +0100 Subject: Fix avoid duplicate zip. --- form.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/form.cgi b/form.cgi index 09de324..f4b5f3a 100755 --- a/form.cgi +++ b/form.cgi @@ -22,11 +22,11 @@ my $form = CGI::FormBuilder->new( method => 'POST', fields => [qw/ kommentar - postnummer + postnr email /], validate => { - postnummer => INT, + postnr => INT, email => $valid_email, _email => $valid_email, #fake check to silence warning of variable used only once }, -- cgit v1.2.3