From 2a8a6ed81c3dd19b2675e039706974dfdeddb8d0 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sun, 21 Aug 2016 12:15:04 +0000 Subject: [PATCH] contrib/commandref_modular.pl: bugfix git-svn-id: https://svn.fhem.de/fhem/trunk@12029 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/commandref_modular.pl | 3 --- 1 file changed, 3 deletions(-) diff --git a/fhem/contrib/commandref_modular.pl b/fhem/contrib/commandref_modular.pl index 40710fd07..0fe0494fc 100644 --- a/fhem/contrib/commandref_modular.pl +++ b/fhem/contrib/commandref_modular.pl @@ -72,10 +72,7 @@ for my $lang (@lang) { $modData{$mName}{type}="device" if(!$modData{$mName}{type}); delete($modData{$mName}{modLinks}); open(FH, "$modDir/$fName") || die("Cant open $modDir/$fName: $!\n"); - my $ishtml; while(my $l = ) { - $ishtml = 1 if($l =~ m/^=begin\s+html/); - next if(!$ishtml); $modData{$mName}{type}=$1 if($l =~ m/^=item\s+(helper|command|device)/); $modData{$mName}{$1} =$2 if($l =~ m/^=item\s+(summary[^ ]*)\s(.*)$/); $modData{$mName}{modLinks}{$1} = 1