Browse Source

Merged in ctubio/ckpool/ctubio/fixed-warning-missing-argument-14-for-wo-1451575635128 (pull request #10)

Fixed Warning: Missing argument 14 for workuser()
master
TheKano 9 years ago
parent
commit
2bcf03c9d5
  1. 3
      pool/page_allwork.php

3
pool/page_allwork.php

@ -23,12 +23,13 @@ function doallwork($data, $user)
if ($ans['STATUS'] == 'ok') if ($ans['STATUS'] == 'ok')
{ {
$count = $ans['rows']; $count = $ans['rows'];
$title = NULL;
for ($i = 0; $i < $count; $i++) for ($i = 0; $i < $count; $i++)
{ {
$pg .= workuser($data, $ans['username:'.$i], $pg .= workuser($data, $ans['username:'.$i],
$offset, $totshare, $totdiff, $offset, $totshare, $totdiff,
$totshrate, $totinvalid, $totrate, $totshrate, $totinvalid, $totrate,
$blockacc, $blockreward, 3600); $blockacc, $blockreward, 3600, false, false, $title);
} }
} }

Loading…
Cancel
Save