From 1baf95789179cb3f6ec41db0ec45c445fae1820f Mon Sep 17 00:00:00 2001 From: OpenXE <> Date: Mon, 15 Jan 2024 14:58:20 +0100 Subject: [PATCH] bugfix verbindlichkeit set sachkonto --- www/pages/verbindlichkeit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/pages/verbindlichkeit.php b/www/pages/verbindlichkeit.php index 27726654..879b3a8c 100644 --- a/www/pages/verbindlichkeit.php +++ b/www/pages/verbindlichkeit.php @@ -814,7 +814,7 @@ class Verbindlichkeit { $positionen_kontorahmen = $this->app->erp->ReplaceKontorahmen(true,$positionen_sachkonto,false); foreach ($ids as $posid) { - $sql = "UPDATE verbindlichkeit_position SET kontorahmen = '".$positionen_kontorahmen."'"; + $sql = "UPDATE verbindlichkeit_position SET kontorahmen = '".$positionen_kontorahmen."' WHERE id =".$posid; $this->app->DB->Update($sql); } break;