Browse Source

php - worker correct name

master
kanoi 10 years ago
parent
commit
4710fee7ad
  1. 4
      pool/page_workers.php

4
pool/page_workers.php

@ -19,7 +19,7 @@ function doworker($data, $user)
$pg .= "</tr>\n"; $pg .= "</tr>\n";
if ($ans['STATUS'] == 'ok') if ($ans['STATUS'] == 'ok')
{ {
$tot = 0; $thr = 0;
$count = $ans['rows']; $count = $ans['rows'];
for ($i = 0; $i < $count; $i++) for ($i = 0; $i < $count; $i++)
{ {
@ -90,7 +90,7 @@ function doworker($data, $user)
$uhr = '?GHs'; $uhr = '?GHs';
else else
{ {
$tot += $uhr; $thr += $uhr;
$uhr /= 10000000; $uhr /= 10000000;
if ($uhr < 0.01) if ($uhr < 0.01)
$uhr = '0GHs'; $uhr = '0GHs';

Loading…
Cancel
Save