parent
1b53456fd6
commit
bae4f1712c
@ -59,8 +59,7 @@ class Transaction extends Base {
|
|||||||
FROM transactions AS t
|
FROM transactions AS t
|
||||||
LEFT OUTER JOIN blocks AS b
|
LEFT OUTER JOIN blocks AS b
|
||||||
ON b.id = t.block_id
|
ON b.id = t.block_id
|
||||||
WHERE b.confirmations > 0
|
WHERE ( b.confirmations > 0 OR b.id IS NULL )
|
||||||
OR b.id IS NULL
|
|
||||||
";
|
";
|
||||||
if (!empty($account_id)) {
|
if (!empty($account_id)) {
|
||||||
$sql .= " AND t.account_id = ? ";
|
$sql .= " AND t.account_id = ? ";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user