From c4e27e0011023e09facd5f8e0297be84d8d71cc7 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 27 Dec 2010 13:49:24 +0100 Subject: [PATCH] =?utf8?q?Select-Optionen:=20"value"=20f=C3=BCr=20"0"=20ri?= =?utf8?q?chtig=20erzeugen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Vorher: Jetzt: --- 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 479c4b859..cc0a6ed01 100644 --- a/SL/Template/Plugin/L.pm +++ b/SL/Template/Plugin/L.pm @@ -48,7 +48,7 @@ sub attributes { my @result = (); while (my ($name, $value) = each %options) { next unless $name; - $value ||= ''; + $value = '' if !defined($value); push @result, _H($name) . '="' . _H($value) . '"'; } -- 2.20.1