Adding bonus to unconfirmed calculations

This commit is contained in:
Sebastian Grewe 2013-06-12 09:17:50 +02:00
parent a006ea782a
commit 27b4c4473f

View File

@ -204,7 +204,7 @@ class Transaction {
LEFT JOIN " . $this->block->getTableName() . " AS b ON t.block_id = b.id
WHERE
(
( t.type = 'Credit' AND b.confirmations < ? ) OR
( t.type IN ('Credit','Bonus') AND b.confirmations < ? ) OR
( t.type = 'Credit_PPS' )
)
AND t.account_id = ?