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 {