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:
d1e6708
)
S:C:Letter: Sprache an Druck-Template weitergeben
author
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Mon, 1 Feb 2021 16:41:10 +0000
(17:41 +0100)
committer
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Mon, 1 Feb 2021 16:41:10 +0000
(17:41 +0100)
SL/Controller/Letter.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/Letter.pm
b/SL/Controller/Letter.pm
index
3ee9eb7
..
937664f
100644
(file)
--- a/
SL/Controller/Letter.pm
+++ b/
SL/Controller/Letter.pm
@@
-208,7
+208,7
@@
sub action_print_letter {
letter => $letter,
template_meta => {
formname => 'letter',
- language => SL::DB::
Language->new
,
+ language => SL::DB::
Manager::Language->find_by_or_create(id => $::form->{language_id}*1)
,
extension => 'pdf',
format => $::form->{format},
media => $::form->{media},