From: Moritz Bunkus Date: Wed, 27 Dec 2006 09:23:37 +0000 (+0000) Subject: Einige Variablen wurden umbenannt und müssen auch an anderer Stelle behandelt werden. X-Git-Tag: release-2.4.1~1^2~116 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=3c559a20ca6390b01bb0c96c3897e3fd87ce7416;p=kivitendo-erp.git Einige Variablen wurden umbenannt und müssen auch an anderer Stelle behandelt werden. --- 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);