Browse Source

Merge pull request 'IP count bug fix' (#49) from fixIpCount2 into config

Reviewed-on: #49

Fixes issue.
pull/51/head
nonmakina 3 years ago
parent
commit
1136a3d201
  1. 2
      templates/themes/categories/theme.php

2
templates/themes/categories/theme.php

@ -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…
Cancel
Save