From 923795c23bb135dd142a4a94c768f1e823e1215c Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Wed, 29 Jan 2014 09:58:18 +0100 Subject: [PATCH] [FIX] Ignore AP for empty/NULL addresses --- public/include/classes/transaction.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/include/classes/transaction.class.php b/public/include/classes/transaction.class.php index 12bb93ce..060e394d 100644 --- a/public/include/classes/transaction.class.php +++ b/public/include/classes/transaction.class.php @@ -313,7 +313,7 @@ class Transaction extends Base { ON t.block_id = b.id LEFT JOIN accounts AS a ON t.account_id = a.id - WHERE t.archived = 0 AND a.ap_threshold > 0 + WHERE t.archived = 0 AND a.ap_threshold > 0 AND a.coin_address IS NOT NULL AND a.coin_address != '' GROUP BY t.account_id HAVING confirmed > a.ap_threshold ");