forked from leftypol/leftypol
Merge pull request 'IP count bug fix' (#49) from fixIpCount2 into config
Reviewed-on: leftypol/leftypol#49 Fixes issue.
This commit is contained in:
commit
1136a3d201
|
@ -148,7 +148,7 @@
|
|||
return $stats;
|
||||
}
|
||||
|
||||
private static function countUniqueIps($markAsCounted, $timespan, $_board) {
|
||||
private static function countUniqueIps(&$markAsCounted, $timespan, $_board) {
|
||||
$unique_query = query(
|
||||
sprintf("SELECT DISTINCT ip FROM ``posts_%s`` WHERE time > %d",
|
||||
$_board['uri'],
|
||||
|
|
Loading…
Reference in New Issue
Block a user