mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-16 10:46:03 +00:00
fhem.pl: fix CFGFN for the configDb (again) (Forum #93056)
git-svn-id: https://svn.fhem.de/fhem/trunk@17731 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5bcd906cee
commit
e0a76f7afd
@ -1978,7 +1978,8 @@ CommandDefine($$)
|
||||
$hash{DEF} = $a[2] if(int(@a) > 2);
|
||||
$hash{NR} = $devcount++;
|
||||
$hash{CFGFN} = $currcfgfile
|
||||
if($currcfgfile ne AttrVal("global", "configfile", ""));
|
||||
if($currcfgfile ne AttrVal("global", "configfile", "") &&
|
||||
!configDBUsed());
|
||||
$hash{CL} = $cl;
|
||||
|
||||
# If the device wants to issue initialization gets/sets, then it needs to be
|
||||
|
Loading…
x
Reference in New Issue
Block a user