mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-12 22:56:34 +00:00
statistics2.cgi: for debug
git-svn-id: https://svn.fhem.de/fhem/trunk@14478 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
bbebc90721
commit
1f53ce7d85
@ -149,7 +149,8 @@ sub doAggregate() {
|
||||
my $nodesTotal = $dbInfo->{'submissionsTotal'};
|
||||
my $nodes12 = 0;
|
||||
|
||||
$sql = q(SELECT geo,json FROM jsonNodes WHERE lastSeen > $limit AND uniqueID <> 'databaseInfo');
|
||||
$sql = "SELECT geo,json FROM jsonNodes WHERE uniqueID <> 'databaseInfo' ";
|
||||
$sql .= "AND geo <> '' AND json <> '' and lastseen > $limit";
|
||||
$sth = $dbh->prepare( $sql );
|
||||
$sth->execute();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user