X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/3a74c01d6f54d10e0bca6a76bb8c03a4f440f401..693f2ebe60b292a42ae1bf6633704ca6c8e214c7:/bin/mozilla/ustva.pl
diff --git a/bin/mozilla/ustva.pl b/bin/mozilla/ustva.pl
index 4ee763881..f39229d06 100644
--- a/bin/mozilla/ustva.pl
+++ b/bin/mozilla/ustva.pl
@@ -147,6 +147,7 @@ sub report {
my $temp = $form->{address};
$temp =~ s/\\n/
/;
($form->{co_street}, $form->{co_city}) = split("
", $temp);
+ $form->{co_city} =~ s/\\n//g;
}
if ($form->{co_street} ne ''
@@ -990,6 +991,7 @@ sub generate_ustva {
my $temp = $form->{address};
$temp =~ s/\\n/
/;
($form->{co_street}, $form->{co_city}) = split("
", $temp);
+ $form->{co_city} =~ s/\\n//g;
}
if ( $form->{format} eq 'pdf'
@@ -1025,7 +1027,7 @@ sub generate_ustva {
$form->{bold} = "";
$form->{endbold} = "";
$form->{br} = "
";
- $form->{address} =~ s/\\n/
/;
+ $form->{address} =~ s/\\n/
/g;
}