diff --git a/public/include/classes/transaction.class.php b/public/include/classes/transaction.class.php index aa909ef5..7b02561c 100644 --- a/public/include/classes/transaction.class.php +++ b/public/include/classes/transaction.class.php @@ -269,7 +269,7 @@ class Transaction { FROM transactions AS t LEFT JOIN blocks AS b ON t.block_id = b.id - AND t.account_id = ? + WHERE t.account_id = ? "); if ($this->checkStmt($stmt) && $stmt->bind_param("iiiii", $this->config['confirmations'], $this->config['confirmations'], $this->config['confirmations'], $this->config['confirmations'], $account_id) && $stmt->execute() && $result = $stmt->get_result()) return $result->fetch_assoc();