prevent invalid defines
git-svn-id: https://svn.fhem.de/fhem/trunk@4307 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -183,6 +183,8 @@ sub CUL_HM_updateConfig($){
|
|||||||
# Purpose is to parse attributes and read config
|
# Purpose is to parse attributes and read config
|
||||||
foreach my $name (@{$modules{CUL_HM}{helper}{updtCfgLst}}){
|
foreach my $name (@{$modules{CUL_HM}{helper}{updtCfgLst}}){
|
||||||
my $hash = $defs{$name};
|
my $hash = $defs{$name};
|
||||||
|
next if (!$hash->{DEF}); # likely renamed
|
||||||
|
|
||||||
my $id = $hash->{DEF};
|
my $id = $hash->{DEF};
|
||||||
my $chn = substr($id."00",6,2);
|
my $chn = substr($id."00",6,2);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user