[FIX] Wrong argument count

This commit is contained in:
Sebastian Grewe 2014-02-15 18:16:57 +01:00
parent ee805b65ce
commit 1d5acb48b2

View File

@ -48,7 +48,7 @@ foreach ($aAllBlocks as $iIndex => $aBlock) {
$log->logError(" Block became orphaned but unable to update database entries");
}
if (!$header) {
$log->logInfo(sprintf($strLogMask, 'ID', 'Height', 'Blockhash', 'Old', 'New'));
$log->logInfo(sprintf($strLogMask, 'ID', 'Height', 'Blockhash', 'Old', 'New', 'Status'));
$header = true;
}
$log->logInfo(sprintf($strLogMask, $aBlock['id'], $aBlock['height'], $aBlock['blockhash'], $aBlock['confirmations'], $aBlockInfo['confirmations'], $status));
@ -64,7 +64,7 @@ foreach ($aAllBlocks as $iIndex => $aBlock) {
$status = 'UPDATED';
}
if (!$header) {
$log->logInfo(sprintf($strLogMask, 'ID', 'Height', 'Blockhash', 'Old', 'New'));
$log->logInfo(sprintf($strLogMask, 'ID', 'Height', 'Blockhash', 'Old', 'New', 'Status'));
$header = true;
}
$log->logInfo(sprintf($strLogMask, $aBlock['id'], $aBlock['height'], $aBlock['blockhash'], $aBlock['confirmations'], $aBlockInfo['confirmations'], $status));