diff options
-rwxr-xr-x | LedgerSMB/Form.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm index cc60e287..9396f69d 100755 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -889,8 +889,8 @@ sub parse_template { } else { # launch application - print qq|Content-Type: application/$self->{format} - Content-Disposition: attachment; filename="$self->{tmpfile}"\n\n|; + print qq|Content-Type: application/$self->{format}\n|. + qq|Content-Disposition: attachment; filename="$self->{tmpfile}"\n\n|; unless (open(OUT, ">-")) { $err = $!; |