From 3c559a20ca6390b01bb0c96c3897e3fd87ce7416 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 27 Dec 2006 09:23:37 +0000 Subject: [PATCH] =?utf8?q?Einige=20Variablen=20wurden=20umbenannt=20und=20?= =?utf8?q?m=C3=BCssen=20auch=20an=20anderer=20Stelle=20behandelt=20werden.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Form.pm | 2 ++ bin/mozilla/io.pl | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SL/Form.pm b/SL/Form.pm index 3606073f9..0616e1e79 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -774,6 +774,8 @@ sub parse_template { map({ $self->{"employee_${_}"} = $myconfig->{$_}; } qw(email tel fax name signature company address businessnumber)); + map({ $self->{"employee_${_}"} =~ s/\\n/\n/g; } + qw(company address signature)); $self->{copies} = 1 if (($self->{copies} *= 1) <= 0); diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index e7eb2fb67..6c82d4ced 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -1803,8 +1803,6 @@ sub print_form { $form->{notes} =~ s/^\s+//g; - map({ $form->{$_} =~ s/\\n/\n/g; } qw(company address)); - $form->{templates} = "$myconfig{templates}"; $form->{language} = $form->get_template_language(\%myconfig); -- 2.20.1