2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-07 19:04:20 +00:00

33_readingsGroup.pm: fix initialization if fhemweb hast not been used. see: https://forum.fhem.de/index.php/topic,14425.msg589046.html#msg589046

git-svn-id: https://svn.fhem.de/fhem/trunk@13457 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2017-02-19 21:49:33 +00:00
parent 85363ccefa
commit 9ec650f361

View File

@ -651,8 +651,11 @@ readingsGroup_2html($;$)
{
my($hash,$extPage) = @_;
$hash = $defs{$hash} if( ref($hash) ne 'HASH' );
$FW_ME = "" if( !$FW_ME );
$FW_subdir = "" if( !$FW_subdir );
return undef if( !$hash );
return undef if( !$FW_ME );
return undef if( !$init_done );
#if( $hash->{fhem}->{cached} && $hash->{fhem}->{lastDefChange} && $hash->{fhem}->{lastDefChange} == $lastDefChange ) {