mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
statistics2.cgi: ignore invalid/missing perl versions
git-svn-id: https://svn.fhem.de/fhem/trunk@14769 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
c25b400b6b
commit
a96d632d5b
@ -202,7 +202,7 @@ sub doAggregate() {
|
||||
$res =~ s/^v//;
|
||||
$res =~ /(^\d*\.\d*)/;
|
||||
$res = $1;
|
||||
$countAll{'system'}{'perl'}{$res}++;
|
||||
$countAll{'system'}{'perl'}{$res}++ if($res);
|
||||
|
||||
if (defined($decoded->{'system'}{'revdate'})){
|
||||
$res = $decoded->{'system'}{'revdate'};
|
||||
|
Loading…
Reference in New Issue
Block a user