From 4710fee7ad5208729d2191f6ea63d2c74c535714 Mon Sep 17 00:00:00 2001 From: kanoi Date: Sat, 30 Aug 2014 00:12:00 +1000 Subject: [PATCH] php - worker correct name --- pool/page_workers.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pool/page_workers.php b/pool/page_workers.php index 0456d168..275b6567 100644 --- a/pool/page_workers.php +++ b/pool/page_workers.php @@ -19,7 +19,7 @@ function doworker($data, $user) $pg .= "\n"; if ($ans['STATUS'] == 'ok') { - $tot = 0; + $thr = 0; $count = $ans['rows']; for ($i = 0; $i < $count; $i++) { @@ -90,7 +90,7 @@ function doworker($data, $user) $uhr = '?GHs'; else { - $tot += $uhr; + $thr += $uhr; $uhr /= 10000000; if ($uhr < 0.01) $uhr = '0GHs';