diff --git a/public/include/classes/roundstats.class.php b/public/include/classes/roundstats.class.php index 5e4ee347..0bbbb5ac 100644 --- a/public/include/classes/roundstats.class.php +++ b/public/include/classes/roundstats.class.php @@ -112,6 +112,7 @@ class RoundStats extends Base { ORDER BY valid DESC "); if ($this->checkStmt($stmt) && $stmt->bind_param('i', $iHeight) && $stmt->execute() && $result = $stmt->get_result()) { + $aData = null; while ($row = $result->fetch_assoc()) { $aData[$row['id']] = $row; }