Merge pull request #1022 from xisi/patch-1

[FIX] Uninitialized var in roundstats class
This commit is contained in:
Sebastian Grewe 2013-12-18 22:16:48 -08:00
commit 4849beb0cc

View File

@ -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;
}