From 0e968c90a657a0b7aa0029453ea352388ff82834 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Thu, 6 Feb 2014 08:53:18 +0100 Subject: [PATCH] [FIX] Manual PPS Payouts Fixes #1692 --- 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 1306a470..c19f3947 100644 --- a/public/include/classes/transaction.class.php +++ b/public/include/classes/transaction.class.php @@ -397,7 +397,7 @@ class Transaction extends Base { ON p.account_id = a.id JOIN " . $this->getTableName() . " AS t ON t.account_id = p.account_id - JOIN " . $this->block->getTableName() . " AS b + LEFT JOIN " . $this->block->getTableName() . " AS b ON t.block_id = b.id WHERE p.completed = 0 AND t.archived = 0 AND a.coin_address IS NOT NULL AND a.coin_address != '' GROUP BY t.account_id