preorder price now comes from preorder product's attributes

This commit is contained in:
Frank Schubert
2022-10-13 16:03:21 +02:00
parent f02791bdf8
commit 944784dc5c
6 changed files with 79 additions and 19 deletions

View File

@@ -88,10 +88,10 @@ class ProducttechController extends mfBaseController {
$a = [];
$a['name'] = $attribute['name'];
$a['producttech_id'] = $new_id;
$a['displayname'] = $attribute['displayname'];
$a['displayname'] = htmlentities($attribute['displayname']);
$a['value'] = $attribute['value'];
$a['description'] = $attribute['description'];
$a['note'] = $attribute['note'];
$a['description'] = htmlentities($attribute['description']);
$a['note'] = htmlentities($attribute['note']);
$a['edit_by'] = $this->me->id;
if($aid == "new") {