readingsHistory: fixed regex warning
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6788 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -237,7 +237,7 @@ readingsHistory_2html($)
|
||||
|
||||
return undef if( !$hash );
|
||||
|
||||
if( $hash->{DEF} =~ m/=/ ) {
|
||||
if( $hash->{DEF} && $hash->{DEF} =~ m/=/ ) {
|
||||
if( !$hash->{fhem}->{last_update}
|
||||
|| gettimeofday() - $hash->{fhem}->{last_update} > 600 ) {
|
||||
readingsHistory_updateDevices($hash);
|
||||
|
||||
Reference in New Issue
Block a user