From 1e1bbaaa92bfa3607a8a1e04c14e9ef6c838bcc6 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Sat, 19 Apr 2014 08:06:26 +0200 Subject: [PATCH] [FIX] PHP Notice --- public/include/classes/worker.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/public/include/classes/worker.class.php b/public/include/classes/worker.class.php index d14aa999..570dcd32 100644 --- a/public/include/classes/worker.class.php +++ b/public/include/classes/worker.class.php @@ -190,6 +190,7 @@ class Worker extends Base { FROM $this->table AS w ORDER BY shares DESC LIMIT ?,?"); if ($this->checkStmt($stmt) && $stmt->bind_param('iiiiii', $interval, $interval, $interval, $interval, $start, $iLimit) && $stmt->execute() && $result = $stmt->get_result()) { + $aData = array(); while ($row = $result->fetch_assoc()) { $row['hashrate'] = round($this->coin->calcHashrate($row['shares'], $interval), 2); if ($row['count_all'] > 0) {