]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Template/Plugin/L.pm
L.radio_button_tag: value="" ermöglichen
[mfinanz.git] / SL / Template / Plugin / L.pm
index 95f4ce1d037e4107c0a2ffaae59d277c8269b677..d9deef78ed4cefb96ce23b73b4856c74fddc1872 100644 (file)
@@ -116,7 +116,7 @@ sub radio_button_tag {
   my ($self, $name, %attributes) = _hashify(2, @_);
 
   _set_id_attribute(\%attributes, $name);
-  $attributes{value}   = 1 unless defined $attributes{value};
+  $attributes{value}   = 1 unless exists $attributes{value};
   my $label            = delete $attributes{label};
 
   if ($attributes{checked}) {