From e0c2a1954259cb2f43f544666778635fe220ebb8 Mon Sep 17 00:00:00 2001 From: Joey Date: Wed, 18 Dec 2013 09:34:38 -0500 Subject: [PATCH] [FIX] Uninitialized var in roundstats class --- public/include/classes/roundstats.class.php | 1 + 1 file changed, 1 insertion(+) 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; }