From 2b43efca70d3e8f6224116b47b4f528e6b110a02 Mon Sep 17 00:00:00 2001 From: OpenXE <> Date: Tue, 11 Jun 2024 20:00:16 +0200 Subject: [PATCH] Bugfix add price when address is in several groups --- www/lib/class.erpapi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/lib/class.erpapi.php b/www/lib/class.erpapi.php index 9ec83a60..27679ee4 100644 --- a/www/lib/class.erpapi.php +++ b/www/lib/class.erpapi.php @@ -38222,7 +38222,7 @@ function Firmendaten($field,$projekt="") $sql_erweiterung = ''; if(!empty($gruppenarr)) { - $sql_erweiterung .= ' OR v.gruppe IN ('.implode(' ', $gruppenarr).') '; + $sql_erweiterung .= ' OR v.gruppe IN ('.implode(', ', $gruppenarr).') '; } if(!$guenstigste_vk) { $vkarr = $this->app->DB->SelectArr("SELECT * FROM verkaufspreise v WHERE v.ab_menge <= '$menge' AND