summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2015-02-26 18:30:10 +0100
committerJonas Smedegaard <dr@jones.dk>2015-02-26 18:30:10 +0100
commit638a83845c0479a93525620855f94b5178a87677 (patch)
treef4cc4826faddd295e230806654e9c2eedbca0585
parent8c5c4577125e8bfacb937eb1ed1fa122b76358ac (diff)
Fix avoid duplicate zip.
-rwxr-xr-xform.cgi4
1 files 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
},