properly filter Credit_PPS as confirmed

This commit is contained in:
Sebastian Grewe 2013-07-23 09:18:04 +02:00
parent 1a5d216b7a
commit 728bfe8c9d

View File

@ -111,7 +111,7 @@ class Transaction {
case 'status': case 'status':
switch ($value) { switch ($value) {
case 'Confirmed': case 'Confirmed':
$aFilter[] = "b.confirmations >= " . $this->config['confirmations']; if ($filter['type'] != 'Credit_PPS') $aFilter[] = "b.confirmations >= " . $this->config['confirmations'];
break; break;
case 'Unconfirmed': case 'Unconfirmed':
$aFilter[] = "b.confirmations < " . $this->config['confirmations'] . " AND b.confirmations >= 0"; $aFilter[] = "b.confirmations < " . $this->config['confirmations'] . " AND b.confirmations >= 0";