projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c74481
)
Temporärdateien im Binärmodus öffnen
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 31 Jan 2011 12:21:09 +0000
(13:21 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 31 Jan 2011 12:21:09 +0000
(13:21 +0100)
Andernfalls werden ODTs und PDFs unter Windows beim Herunterladen
verstümmelt.
SL/Form.pm
patch
|
blob
|
history
diff --git
a/SL/Form.pm
b/SL/Form.pm
index
8532c65
..
81d6dc4
100644
(file)
--- a/
SL/Form.pm
+++ b/
SL/Form.pm
@@
-1323,6
+1323,7
@@
sub parse_template {
my $numbytes = (-s $self->{tmpfile});
open(IN, $self->{tmpfile})
or $self->error($self->cleanup . "$self->{tmpfile} : $!");
+ binmode IN;
$self->{copies} = 1 unless $self->{media} eq 'printer';