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';