From 3403c1c781874002b66c6819ca298bd44da2bd45 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Fri, 9 Jul 2021 17:28:55 +0000 Subject: [PATCH] fhem.pl: rename attribute section for the own module (Forum #120779) git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@24715 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fhem.pl b/fhem.pl index b73e47724..0a38634c6 100755 --- a/fhem.pl +++ b/fhem.pl @@ -2808,9 +2808,9 @@ getAllAttr($;$$) &$add($AttrList, "framework"); if($defs{$d}{".AttrList"}) { - &$add($defs{$d}{".AttrList"}, "Module"); + &$add($defs{$d}{".AttrList"}, $defs{$d}{TYPE}); } else { - &$add($modules{$defs{$d}{TYPE}}{AttrList}, "Module"); + &$add($modules{$defs{$d}{TYPE}}{AttrList}, $defs{$d}{TYPE}); } my $nl2space = sub($$)