summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiri Reiter <siri@pjones.dk>2021-11-19 01:06:30 +0100
committerSiri Reiter <siri@pjones.dk>2021-11-19 01:06:30 +0100
commitab021a1ef42fcac29da7582e867700b839247cc1 (patch)
treee20a698e8588c079d85652283ca78d2b632c8e2c
parentfd6e026059e4823c841d1169cf0f6aa1e79aa248 (diff)
fix declare variable as local
-rwxr-xr-xfeedback.cgi2
-rwxr-xr-xfribillet.cgi2
-rwxr-xr-xkontakt.cgi2
-rwxr-xr-xvejviseren/familieture.cgi2
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';