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:
f850e76
)
Funktionen die Listen zurückgeben kommen in Template::Plugins als arrayref an. -.-
author
Sven Schöling
<s.schoeling@linet-services.de>
Tue, 20 Sep 2011 09:37:12 +0000
(11:37 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Tue, 20 Sep 2011 09:37:12 +0000
(11:37 +0200)
SL/Template/Plugin/L.pm
patch
|
blob
|
history
diff --git
a/SL/Template/Plugin/L.pm
b/SL/Template/Plugin/L.pm
index
e0631b8
..
0ed2a87
100644
(file)
--- a/
SL/Template/Plugin/L.pm
+++ b/
SL/Template/Plugin/L.pm
@@
-224,7
+224,7
@@
sub options_for_select {
my @elements = ();
push @elements, [ undef, $options{empty_title} || '' ] if $options{with_empty};
push @elements, map [
- $value_title_sub ?
$value_title_sub->($_)
: (
+ $value_title_sub ?
@{ $value_title_sub->($_) }
: (
$access->($_, 0, $value_key, $value_sub),
$access->($_, 1, $title_key, $title_sub),
)