2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

98_DOIFtools.pm: prevent warning

git-svn-id: https://svn.fhem.de/fhem/trunk@14509 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Ellert 2017-06-14 20:57:22 +00:00
parent 8da8453b48
commit 7c4aa33508

View File

@ -640,7 +640,7 @@ sub DOIFtools_Notify($$) {
CommandSave(undef,undef);
}
# Event monitor in DOIF FW_detailFn
if ($modules{DOIF}{LOADED} and $modules{DOIF}->{FW_detailFn} ne "DOIFtools_eM" and $sn eq "global" and $event =~ "^INITIALIZED\$" ) {
if ($modules{DOIF}{LOADED} and $modules{DOIF}->{FW_detailFn} and $modules{DOIF}->{FW_detailFn} ne "DOIFtools_eM" and $sn eq "global" and $event =~ "^INITIALIZED\$" ) {
readingsBeginUpdate($hash);
readingsBulkUpdate($hash,".DOIF_detailFn",$modules{DOIF}->{FW_detailFn});
$modules{DOIF}->{FW_detailFn} = "DOIFtools_eM";