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

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6180 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2014-06-29 20:16:29 +00:00
parent 71a6a4f96c
commit 2968f2b72d

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>";