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:
d46c087
)
$form->parse_template() verwendet $form->{OUT} direkt oder indirekt in open(). Desweg...
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 11 May 2007 12:26:24 +0000
(12:26 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 11 May 2007 12:26:24 +0000
(12:26 +0000)
bin/mozilla/cp.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/cp.pl
b/bin/mozilla/cp.pl
index
b68865a
..
c7b85c6
100644
(file)
--- a/
bin/mozilla/cp.pl
+++ b/
bin/mozilla/cp.pl
@@
-695,11
+695,13
@@
sub print {
$form->{pdf} = 1;
}
+ delete $form->{OUT};
+
if ($form->{media} eq 'printer') {
$form->{OUT} = "| $myconfig{printer}";
}
if ($form->{media} eq 'queue') {
- %queued = split / /, $form->{queued};
+ %queued =
map { s|.*/|| }
split / /, $form->{queued};
if ($filename = $queued{ $form->{formname} }) {
unlink "$spool/$filename";