From b2df4c9d9ffd2e5d79895d5727c3db3e8384ac3c Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Tue, 10 Dec 2013 16:23:54 +0100 Subject: [PATCH] [FIX] PHP Notice on missing $aRoundShares Fixes #941 once merged. --- public/include/pages/statistics/pool.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/public/include/pages/statistics/pool.inc.php b/public/include/pages/statistics/pool.inc.php index 689d771d..e1af1af5 100644 --- a/public/include/pages/statistics/pool.inc.php +++ b/public/include/pages/statistics/pool.inc.php @@ -43,6 +43,7 @@ if (!$smarty->isCached('master.tpl', $smarty_cache_key)) { // Round progress $iEstShares = $statistics->getEstimatedShares($dDifficulty); + $aRoundShares = $statistics->getRoundShares(); if ($iEstShares > 0 && $aRoundShares['valid'] > 0) { $dEstPercent = round(100 / $iEstShares * $aRoundShares['valid'], 2); } else {