From 8c5fdd92f72f56b63c6a925e5dbe74aeb4ed3251 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CVeLiTi=E2=80=9D?= <“info@veliti.nl”> Date: Fri, 29 Mar 2024 22:21:00 +0100 Subject: [PATCH] CIM58 - Bugfix --- api/v1/post/equipments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1/post/equipments.php b/api/v1/post/equipments.php index a4aac46..5346c1c 100644 --- a/api/v1/post/equipments.php +++ b/api/v1/post/equipments.php @@ -180,7 +180,7 @@ else { //CREAT NEW ARRAY AND MAP TO CLAUSE if(isset($post_content) && $post_content!=''){ foreach ($post_content as $key => $var){ - if ($key == 'submit' || $key == 'rowID' || str_contains($key, 'old_') || $key == 'salesid' || $key == 'soldto' || $key == 'shipto' || $key == 'location' || $key == 'section'){ + if ($key == 'submit' || $key == 'rowID' || str_contains($key, 'old_') || $key == 'salesid' || $key == 'soldto' || $key == 'shipto' || $key == 'location' || $key == 'section' || str_contains($key, 'productcode') || str_contains($key, 'productname')){ //do nothing } else {