diff options
author | Jonas Smedegaard <dr@jones.dk> | 2024-03-28 15:47:53 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2024-03-28 15:47:53 +0100 |
commit | 3e0d254e0d6197987f2d8efce144cb29da3c6f7a (patch) | |
tree | 9ddd3eb9c3c6cec4771b46d5dee02325c5152c3d /kontakt.cgi | |
parent | b1d158f333d37da682de6854cf80f83a6777fa80 (diff) |
fix variable name
Diffstat (limited to 'kontakt.cgi')
-rwxr-xr-x | kontakt.cgi | 2 |
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', |