This commit is contained in:
2025-01-23 16:10:25 +00:00
parent a4a65d5b4f
commit 8ecc410394
9 changed files with 52 additions and 21 deletions

View File

@@ -64,7 +64,7 @@ else {
SELECT name, code, unit_id, product_category_id
FROM ecmproducts WHERE id='".$row['product_id']."'"));
$row['name'] = $res['name'];
$row['name'] = str_replace('"', "'", $res['name']);
$row['product_code'] = $res['code'];
$row['ecmproductcategory_id'] = $res['product_category_id'];
$row['unit_id'] = $res['unit_id'];
@@ -87,7 +87,7 @@ else {
SELECT name, code, unit_id, product_category_id
FROM ecmproducts WHERE id='".$row['product_id']."'"));
$row['name'] = $res['name'];
$row['name'] = str_replace('"', "", $res['name']);
$row['product_code'] = $res['code'];
$row['ecmproductcategory_id'] = $res['product_category_id'];
$row['unit_id'] = $res['unit_id'];