X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/f5db53cd06c51ef10fea5aabfbee74f7f2b6d96f..703161fcfa27b6a8d1d21d34f1f524dcdb1879b8:/SL/Template/Plugin/L.pm diff --git a/SL/Template/Plugin/L.pm b/SL/Template/Plugin/L.pm index 068fc1a48..c4f02e618 100644 --- a/SL/Template/Plugin/L.pm +++ b/SL/Template/Plugin/L.pm @@ -61,6 +61,7 @@ sub attributes { my @result = (); while (my ($name, $value) = each %options) { next unless $name; + next if $name eq 'disabled' && !$value; $value = '' if !defined($value); push @result, _H($name) . '="' . _H($value) . '"'; }