2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-05-05 08:20:23 +00:00

fhem.pl: fix Dispatch warning for "" or [NEXT] (Forum #90145)

git-svn-id: https://svn.fhem.de/fhem/trunk@18463 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2019-01-30 21:46:57 +00:00
parent 3f7eeb33ef
commit 02aac5584d

View File

@ -3968,6 +3968,10 @@ Dispatch($$;$$)
}
delete($defs{$found}{".noDispatchVars"});
DoTrigger($found, undef);
} elsif(defined($found) && ($found eq "" || $found eq "[NEXT]")) {
return undef;
} else {
Log 1, "ERROR: >$found< returned by the $parserMod ParseFn is invalid,".
" notify the module maintainer";