Merge pull request #1022 from xisi/patch-1
[FIX] Uninitialized var in roundstats class
This commit is contained in:
commit
4849beb0cc
@ -112,6 +112,7 @@ class RoundStats extends Base {
|
|||||||
ORDER BY valid DESC
|
ORDER BY valid DESC
|
||||||
");
|
");
|
||||||
if ($this->checkStmt($stmt) && $stmt->bind_param('i', $iHeight) && $stmt->execute() && $result = $stmt->get_result()) {
|
if ($this->checkStmt($stmt) && $stmt->bind_param('i', $iHeight) && $stmt->execute() && $result = $stmt->get_result()) {
|
||||||
|
$aData = null;
|
||||||
while ($row = $result->fetch_assoc()) {
|
while ($row = $result->fetch_assoc()) {
|
||||||
$aData[$row['id']] = $row;
|
$aData[$row['id']] = $row;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user