mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
98_DOIF.pm: fixed undefined $dev in sub EventDoIf
git-svn-id: https://svn.fhem.de/fhem/trunk@22735 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
377e02f542
commit
cf8b7ee330
@ -1085,6 +1085,7 @@ sub EventDoIf
|
||||
|
||||
my $dev=$hash->{helper}{triggerDev};
|
||||
my $eventa=$hash->{helper}{triggerEvents};
|
||||
return 0 if (!defined $dev);
|
||||
if ($check) {
|
||||
if ($dev eq "" or $dev ne $n) {
|
||||
if (defined $filter) {
|
||||
|
Loading…
Reference in New Issue
Block a user