]> wagnertech.de Git - kivitendo-erp.git/commitdiff
Einige Variablen wurden umbenannt und müssen auch an anderer Stelle behandelt werden.
authorMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 27 Dec 2006 09:23:37 +0000 (09:23 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 27 Dec 2006 09:23:37 +0000 (09:23 +0000)
SL/Form.pm
bin/mozilla/io.pl

index 3606073f995a55d5195100e720dcf26f18fcded6..0616e1e79edd63d1e1b330d5a125ac027886344c 100644 (file)
@@ -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);
 
index e7eb2fb67e055a2f54d55f5184d016126e5ea145..6c82d4ceddf397ba7e767f512f6a80ae54e209f6 100644 (file)
@@ -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);