summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-03-28 15:47:53 +0100
committerJonas Smedegaard <dr@jones.dk>2024-03-28 15:47:53 +0100
commit3e0d254e0d6197987f2d8efce144cb29da3c6f7a (patch)
tree9ddd3eb9c3c6cec4771b46d5dee02325c5152c3d
parentb1d158f333d37da682de6854cf80f83a6777fa80 (diff)
fix variable name
-rwxr-xr-xkontakt.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/kontakt.cgi b/kontakt.cgi
index cfe9a08..99951e3 100755
--- a/kontakt.cgi
+++ b/kontakt.cgi
@@ -22,7 +22,7 @@ my ($confirm) = 1;
# Built-in email validation is too simplistic
my $valid_email = '/^[+_A-Za-z0-9-]+(\.[+_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(\.[_A-Za-z0-9-]+)$/';
-my $valid_dk_zip = '/^([Dd][Kk])?.?[0-9-]{4}$/';
+my $valid_zip_dk = '/^([Dd][Kk])?.?[0-9-]{4}$/';
my $form = CGI::FormBuilder->new(
lang => 'da',