10CUL_HM: bugfix undefiend hash

git-svn-id: https://svn.fhem.de/fhem/trunk@9147 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876
2015-08-28 15:51:12 +00:00
parent c1bb18834d
commit 443c75e281

View File

@@ -7528,7 +7528,7 @@ sub CUL_HM_ActInfo() {# print detailed status information
#+++++++++++++++++ helper +++++++++++++++++++++++++++++++++++++++++++++++++++++
sub CUL_HM_UpdtReadBulk(@) { #update a bunch of readings and trigger the events
my ($hash,$doTrg,@readings) = @_;
return if (!@readings);
return if (!@readings ||!defined $hash|| !defined $hash->{NAME} );
if($evtDly && $doTrg){#delay trigger if in parser and trigger ist requested
push @evtEt,[$hash,1,"$_"] foreach(@readings);
}