From 0d38094bb64db774429bc6f036d2f3b0ec074595 Mon Sep 17 00:00:00 2001 From: Thomas Heck Date: Mon, 19 Nov 2012 16:48:40 +0100 Subject: [PATCH] value_title_sub in L.select_tag richtig verarbeiten. --- SL/Template/Plugin/L.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1