33_readingsGroup.pm: don't create html if !$init_done

git-svn-id: https://svn.fhem.de/fhem/trunk@9473 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2015-10-17 09:25:33 +00:00
parent b30658496d
commit 31bed0a4fc

View File

@@ -643,6 +643,7 @@ readingsGroup_2html($;$)
my($hash,$extPage) = @_;
$hash = $defs{$hash} if( ref($hash) ne 'HASH' );
return undef if( !$hash );
return undef if( !$init_done );
#if( $hash->{fhem}->{cached} && $hash->{fhem}->{lastDefChange} && $hash->{fhem}->{lastDefChange} == $lastDefChange ) {
# return $hash->{fhem}->{cached};