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:
justme1968
2014-10-18 19:28:13 +00:00
parent cd20a89ce0
commit 564ab6b78f

View File

@@ -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);