2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 07:19:24 +00:00

readingsHistory: fixed regex warning

git-svn-id: https://svn.fhem.de/fhem/trunk@6788 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2014-10-18 19:28:13 +00:00
parent cf8508e939
commit d0d92d0ae3

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