From f725281d7e90ef666f0609d4103739b7357df3a8 Mon Sep 17 00:00:00 2001 From: Andreas Palm Date: Tue, 10 Sep 2024 23:09:39 +0200 Subject: [PATCH] Re-add previous fix --- www/lib/class.remote.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/lib/class.remote.php b/www/lib/class.remote.php index 96f890aa..d1883f32 100644 --- a/www/lib/class.remote.php +++ b/www/lib/class.remote.php @@ -2197,7 +2197,7 @@ class Remote { vlp.versandpaket = v.id OR v.lieferschein_ohne_pos = l.id LEFT JOIN shopexport_versandarten sv ON sv.versandart_wawision = v.versandart AND sv.shop = $shopId - WHERE a.id = $orderId OR a.teillieferungvon = $orderId + WHERE (a.id = $orderId OR a.teillieferungvon = $orderId) AND v.id IS NOT NULL ORDER BY v.id"; $shipments = $this->app->DB->SelectArr($sql);