Auch bei den Variablen company, address und signature eventuell als \\n escapte Zeile...
authorMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 31 Jan 2007 12:10:34 +0000 (12:10 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 31 Jan 2007 12:10:34 +0000 (12:10 +0000)
SL/Form.pm

index 9a992bd..ae23fab 100644 (file)
@@ -780,6 +780,7 @@ sub parse_template {
          co_ustid taxnumber duns));
   map({ $self->{"employee_${_}"} =~ s/\\n/\n/g; }
       qw(company address signature));
+  map({ $self->{$_} =~ s/\\n/\n/g; } qw(company address signature));
 
   $self->{copies} = 1 if (($self->{copies} *= 1) <= 0);