From 9730d0994960c481ca0a0618aeb7ee4df033308b Mon Sep 17 00:00:00 2001 From: fds2610-bot Date: Mon, 8 Jun 2026 20:26:19 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20PayPal=20Auto-Regeln=20=E2=80=93=20mehrd?= =?UTF-8?q?eutiges=20'id'=20in=20JOIN-Query=20qualifiziert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Services/PayPalNvpFetchService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Services/PayPalNvpFetchService.php b/src/Services/PayPalNvpFetchService.php index 06c09ef..b1c39ca 100644 --- a/src/Services/PayPalNvpFetchService.php +++ b/src/Services/PayPalNvpFetchService.php @@ -181,7 +181,7 @@ class PayPalNvpFetchService { // Regel 1: Authorization → ignoriert $auths = Database::fetchAll( - "SELECT id FROM bank_transactions bt + "SELECT bt.id FROM bank_transactions bt JOIN bank_import_batches bib ON bt.batch_id = bib.id WHERE bib.source_id = ? AND bt.vorgang = 'Authorization' AND bt.status = 'offen'", [$this->sourceId]