From: Thomas Heck Date: Mon, 19 Nov 2012 15:48:40 +0000 (+0100) Subject: value_title_sub in L.select_tag richtig verarbeiten. X-Git-Tag: release-3.0.0beta2~11^2^2~1 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=0d38094bb64db774429bc6f036d2f3b0ec074595;p=kivitendo-erp.git value_title_sub in L.select_tag richtig verarbeiten. --- diff --git a/SL/Template/Plugin/L.pm b/SL/Template/Plugin/L.pm index 742d7db15..95d225441 100644 --- a/SL/Template/Plugin/L.pm +++ b/SL/Template/Plugin/L.pm @@ -182,7 +182,7 @@ sub select_tag { my $title; if ( $value_title_sub ) { - ($value, $title) = $value_title_sub->($entry); + ($value, $title) = @{ $value_title_sub->($entry) }; } else { $value = $normalize_entry->('value', $entry, $value_sub, $value_key);