diff --git a/include/classes/transaction.class.php b/include/classes/transaction.class.php index 1999fd4b..4278f32f 100644 --- a/include/classes/transaction.class.php +++ b/include/classes/transaction.class.php @@ -53,6 +53,7 @@ class Transaction extends Base { WHERE t.archived = 0 AND ( ( t.account_id = ? AND t.id <= ? AND b.confirmations >= ? ) + OR ( t.account_id = ? AND t.id <= ? AND b.confirmations = -1 ) OR ( t.account_id = ? AND t.id <= ? AND t.type IN ( 'Credit_PPS', 'Donation_PPS', 'Fee_PPS', 'TXFee', 'Debit_MP', 'Debit_AP' ) ) )"); if ($this->checkStmt($stmt) && $stmt->bind_param('iiiii', $account_id, $txid, $this->config['confirmations'], $account_id, $txid) && $stmt->execute())