2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-12 02:39:57 +00:00

statistics2.cgi: do not count definitions for configDB

git-svn-id: https://svn.fhem.de/fhem/trunk@14793 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2017-07-26 19:02:02 +00:00
parent 46dc00473a
commit f67f1fd7f1

View File

@ -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;