2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-25 15:59:21 +00:00

Avoid undefined messages

git-svn-id: https://svn.fhem.de/fhem/trunk@2442 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2013-01-06 17:23:43 +00:00
parent fc29e62337
commit 2d1b6a499b

View File

@ -2986,6 +2986,8 @@ readingsBulkUpdate($$$@)
{
my ($hash,$reading,$value,$changed)= @_;
my $name= $hash->{NAME};
return if(!defined($reading) || !defined($value));
# sanity check
if(!defined($hash->{".updateTimestamp"})) {