From 081e2bbcae187497b961a1d19d856c8da6e6204b Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 12 Mar 2013 12:59:55 +0100 Subject: [PATCH] select_tag(): bei 'with_empty' auch wirklich leeres 'value'-Attribut ausgeben Siehe 0550e83 und 072c821. Fixt #2210. --- SL/Presenter/Tag.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Presenter/Tag.pm b/SL/Presenter/Tag.pm index 29b57ad5d..e65ca7722 100644 --- a/SL/Presenter/Tag.pm +++ b/SL/Presenter/Tag.pm @@ -158,7 +158,7 @@ sub select_tag { }; my $code = ''; - $code .= $self->html_tag('option', $self->escape($empty_title || '')) if $with_empty; + $code .= $self->html_tag('option', $self->escape($empty_title || ''), value => '') if $with_empty; if (!$with_optgroups) { $code .= $list_to_code->($collection); -- 2.20.1