fhem.pl: avoid CFGFN when configDB is used (Forum #93056)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17723 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2018-11-10 16:58:38 +00:00
parent d50ea9d659
commit 4fb8ed2ee1

View File

@ -1043,7 +1043,8 @@ AnalyzeCommandChain($$;$)
my $nr = $devcount++;
$comments{$nr}{TEXT} = $cmd;
$comments{$nr}{CFGFN} = $currcfgfile
if($currcfgfile ne AttrVal("global", "configfile", ""));
if($currcfgfile ne AttrVal("global", "configfile", "") &&
!configDBUsed());
}
}
return undef;