pass by reference

This commit is contained in:
Your Name 2021-10-13 19:12:51 +02:00
parent dbca2948ae
commit bc691addff

View file

@ -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'],