2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-08 01:14:19 +00:00

prevent invalid defines

git-svn-id: https://svn.fhem.de/fhem/trunk@4307 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2013-12-01 15:17:10 +00:00
parent 4515f4f3d7
commit 7a0eec014a

View File

@ -183,6 +183,8 @@ sub CUL_HM_updateConfig($){
# Purpose is to parse attributes and read config
foreach my $name (@{$modules{CUL_HM}{helper}{updtCfgLst}}){
my $hash = $defs{$name};
next if (!$hash->{DEF}); # likely renamed
my $id = $hash->{DEF};
my $chn = substr($id."00",6,2);