Browse Source

pass by reference

pull/49/head
Your Name 3 years ago
parent
commit
dd52a9f089
  1. 2
      templates/themes/categories/theme.php

2
templates/themes/categories/theme.php

@ -148,7 +148,7 @@
return $stats; return $stats;
} }
private static function countUniqueIps($markAsCounted, $timespan, $_board) { private static function countUniqueIps(&$markAsCounted, $timespan, $_board) {
$unique_query = query( $unique_query = query(
sprintf("SELECT DISTINCT ip FROM ``posts_%s`` WHERE time > %d", sprintf("SELECT DISTINCT ip FROM ``posts_%s`` WHERE time > %d",
$_board['uri'], $_board['uri'],

Loading…
Cancel
Save