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

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

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