diff --git a/fhem/contrib/statistics/2017/statistics2.cgi b/fhem/contrib/statistics/2017/statistics2.cgi index 5bf171175..50282e913 100755 --- a/fhem/contrib/statistics/2017/statistics2.cgi +++ b/fhem/contrib/statistics/2017/statistics2.cgi @@ -223,7 +223,7 @@ sub doAggregate() { foreach my $type (sort @keys) { next if $type eq 'system'; if(lc($type) eq 'configdb') { - $countAll{'modules'}{$tyoe}{'definitions'} = 0; + $countAll{'modules'}{$type}{'definitions'} = 0; next; } $countAll{'modules'}{$type}{'definitions'} += $decoded->{$type}{'noModel'} ? $decoded->{$type}{'noModel'} : 0;