Update pplns_payout.php

This commit is contained in:
rog1121 2014-01-22 09:24:22 -07:00
parent 21888a8153
commit 9a23148adb

View File

@ -85,7 +85,7 @@ foreach ($aAllBlocks as $iIndex => $aBlock) {
// We need to go one ID lower due to `id >` or we won't match if minimum share ID == $aBlock['share_id'] // We need to go one ID lower due to `id >` or we won't match if minimum share ID == $aBlock['share_id']
$aAccountShares = $share->getSharesForAccounts($iMinimumShareId - 1, $aBlock['share_id']); $aAccountShares = $share->getSharesForAccounts($iMinimumShareId - 1, $aBlock['share_id']);
if (empty($aAccountShares)) { if (empty($aAccountShares)) {
$log->logFatal("No shares found for this block, aborted! Block Height : " . $aBlock['height'] ', Block ID:' . $aBlock['id']); $log->logFatal("No shares found for this block, aborted! Block Height : " . $aBlock['height'] . ', Block ID: ' . $aBlock['id']);
$monitoring->endCronjob($cron_name, 'E0013', 1, true); $monitoring->endCronjob($cron_name, 'E0013', 1, true);
} }
foreach($aAccountShares as $key => $aData) { foreach($aAccountShares as $key => $aData) {