From 6a1540aba3be85a31943f411cdabf34f72e3829d Mon Sep 17 00:00:00 2001 From: Yagami Date: Tue, 28 Mar 2023 08:48:20 +0800 Subject: [PATCH] * Create product add vision. --- module/product/model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/product/model.php b/module/product/model.php index 7268ae8977..97a3e45ded 100755 --- a/module/product/model.php +++ b/module/product/model.php @@ -722,6 +722,7 @@ class productModel extends model ->setDefault('createdBy', $this->app->user->account) ->setDefault('createdDate', helper::now()) ->setDefault('createdVersion', $this->config->version) + ->setDefault('vision', $this->config->vision) ->setIF($this->post->acl == 'open', 'whitelist', '') ->setIF(!isset($_POST['whitelist']), 'whitelist', '') ->stripTags($this->config->product->editor->create['id'], $this->config->allowedTags)