From ab021a1ef42fcac29da7582e867700b839247cc1 Mon Sep 17 00:00:00 2001 From: Siri Reiter Date: Fri, 19 Nov 2021 01:06:30 +0100 Subject: fix declare variable as local --- feedback.cgi | 2 +- fribillet.cgi | 2 +- kontakt.cgi | 2 +- vejviseren/familieture.cgi | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/feedback.cgi b/feedback.cgi index 23c3023..85345b4 100755 --- a/feedback.cgi +++ b/feedback.cgi @@ -65,7 +65,7 @@ my ($mail_from) = $webmaster; my ($mail_to, $mail_subject); if ($form->submitted) { - $infostring = "Tak for din feedback!"; + my $infostring = "Tak for din feedback!"; if ($form->validate) { $mail_to = $frontdesk; $mail_subject = 'Feedback til Byvandring.nu'; diff --git a/fribillet.cgi b/fribillet.cgi index 966c2e3..ba377d6 100755 --- a/fribillet.cgi +++ b/fribillet.cgi @@ -93,7 +93,7 @@ my ($mail_from) = $webmaster; my ($mail_to, $mail_subject); if ($form->submitted) { - $infostring = "Tak for din henvendelse!"; + my $infostring = "Tak for din henvendelse!"; if ($form->validate) { $mail_to = $frontdesk; $mail_subject = 'Henvendelse til Byvandring.nu'; diff --git a/kontakt.cgi b/kontakt.cgi index 236a6a1..f0fd79c 100755 --- a/kontakt.cgi +++ b/kontakt.cgi @@ -93,7 +93,7 @@ my ($mail_from) = $webmaster; my ($mail_to, $mail_subject); if ($form->submitted) { - $infostring = "Tak for din henvendelse!"; + my $infostring = "Tak for din henvendelse!"; if ($form->validate) { $mail_to = $frontdesk; $mail_subject = 'Henvendelse til Byvandring.nu'; diff --git a/vejviseren/familieture.cgi b/vejviseren/familieture.cgi index af8553c..baba244 100755 --- a/vejviseren/familieture.cgi +++ b/vejviseren/familieture.cgi @@ -93,7 +93,7 @@ my ($mail_from) = $webmaster; my ($mail_to, $mail_subject); if ($form->submitted) { - $infostring = "Tak for din henvendelse!"; + my $infostring = "Tak for din henvendelse!"; if ($form->validate) { $mail_to = $frontdesk; $mail_subject = 'Henvendelse til Byvandring.nu'; -- cgit v1.2.3