Merge pull request #1570 from MPOS/zero-payouts
[FIX] Skip prop payouts with 0 valid shares
This commit is contained in:
commit
854867d4c5
@ -72,6 +72,10 @@ foreach ($aAllBlocks as $iIndex => $aBlock) {
|
|||||||
|
|
||||||
// Loop through all accounts that have found shares for this round
|
// Loop through all accounts that have found shares for this round
|
||||||
foreach ($aAccountShares as $key => $aData) {
|
foreach ($aAccountShares as $key => $aData) {
|
||||||
|
// Skip users with only invalids
|
||||||
|
if ($aData['valid'] == 0) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
// Skip entries that have no account ID, user deleted?
|
// Skip entries that have no account ID, user deleted?
|
||||||
if (empty($aData['id'])) {
|
if (empty($aData['id'])) {
|
||||||
$log->logInfo('User ' . $aData['username'] . ' does not have an associated account, skipping');
|
$log->logInfo('User ' . $aData['username'] . ' does not have an associated account, skipping');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user