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:
d7310fc
)
CVar: sub_module muss vorher konvertiert werden.
author
Sven Schöling
<s.schoeling@linet-services.de>
Tue, 6 Oct 2009 09:24:26 +0000
(11:24 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Tue, 6 Oct 2009 09:24:26 +0000
(11:24 +0200)
SL/CVar.pm
patch
|
blob
|
history
diff --git
a/SL/CVar.pm
b/SL/CVar.pm
index
a55cdf4
..
77d34e6
100644
(file)
--- a/
SL/CVar.pm
+++ b/
SL/CVar.pm
@@
-530,7
+530,8
@@
sub add_custom_variables_to_report {
# allow sub_module to be a coderef or a fixed value
if (ref $params{sub_module} ne 'CODE') {
- $params{sub_module} = sub { "$params{sub_module}" };
+ my $sub_module = "$params{sub_module}";
+ $params{sub_module} = sub { $sub_module };
}
my %cfg_map = map { $_->{id} => $_ } @{ $configs };