[FIX] TX Summary for Accounts

Fixes #770
This commit is contained in:
Sebastian Grewe 2013-10-27 08:41:25 +01:00
parent 1b53456fd6
commit bae4f1712c

View File

@ -59,8 +59,7 @@ class Transaction extends Base {
FROM transactions AS t
LEFT OUTER JOIN blocks AS b
ON b.id = t.block_id
WHERE b.confirmations > 0
OR b.id IS NULL
WHERE ( b.confirmations > 0 OR b.id IS NULL )
";
if (!empty($account_id)) {
$sql .= " AND t.account_id = ? ";