mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-21 07:56:03 +00:00
statistics2.cgi: ignore model if not scalar
git-svn-id: https://svn.fhem.de/fhem/trunk@14773 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
eec88e4cf3
commit
561b73747a
@ -227,6 +227,7 @@ sub doAggregate() {
|
|||||||
while ( my ($model, $count) = each( %{$decoded->{$type}}) ) {
|
while ( my ($model, $count) = each( %{$decoded->{$type}}) ) {
|
||||||
next if($model eq "noModel");
|
next if($model eq "noModel");
|
||||||
$countAll{'modules'}{$type}{'definitions'} += $count;
|
$countAll{'modules'}{$type}{'definitions'} += $count;
|
||||||
|
next if(ref($model) eq "HASH");
|
||||||
next if($model eq "migratedData");
|
next if($model eq "migratedData");
|
||||||
$countAll{'models'}{$type}{$model}{'definitions'} += $count;
|
$countAll{'models'}{$type}{$model}{'definitions'} += $count;
|
||||||
$countAll{'models'}{$type}{$model}{'installations'} += 1;
|
$countAll{'models'}{$type}{$model}{'installations'} += 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user