From: Moritz Bunkus Date: Tue, 21 Feb 2006 09:53:13 +0000 (+0000) Subject: Verhindere, dass die globale Variable $language ueberschrieben wird. [Merge von 849... X-Git-Tag: release-2.4.0^2~320 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=fc6f5270f44db2dd09403fceef77b329c4dab0d5;p=kivitendo-erp.git Verhindere, dass die globale Variable $language ueberschrieben wird. [Merge von 849 aus dem LINET prog-Repo] --- diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 79942bcaf..11c355bf6 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -1348,14 +1348,14 @@ sub print_options { . $locale->text('Postscript'); } - $language = qq| |; %lang = (de => "deutsch", en => "englisch", fr => "französisch"); foreach $item (keys %lang) { if ($form->{language} eq $item) { - $language .= qq||; + $language_select .= qq||; } else { - $language .= qq||; + $language_select .= qq||; } } @@ -1366,7 +1366,7 @@ sub print_options { - |; @@ -1554,9 +1554,9 @@ sub print_form { my ($saved_email, $saved_cc, $saved_bcc) = ($form->{"email"}, $form->{"cc"}, $form->{"bcc"}); - $language = $form->{language}; + $language_saved = $form->{language}; &{"$form->{vc}_details"}; - $form->{language} = $language; + $form->{language} = $language_saved; $form->{"email"} = $saved_email if ($saved_email); $form->{"cc"} = $saved_cc if ($saved_cc);
$type$language + ${language_select} $format $media