2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 11:26:55 +00:00

return "" instead of undef in html creation for disable == 3 to avoid fhemweb fallback to STATE if inside group

git-svn-id: https://svn.fhem.de/fhem/trunk@6180 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2014-06-29 20:16:29 +00:00
parent 3ea9fd2b01
commit b326fecccb

View File

@ -297,7 +297,7 @@ readingsGroup_2html($)
my $disable = AttrVal($d,"disable", 0);
if( AttrVal($d,"disable", 0) > 2 ) {
return undef;
return "";
} elsif( AttrVal($d,"disable", 0) > 1 ) {
my $ret;
$ret .= "<table>";