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

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

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

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;