* Create product add vision.

This commit is contained in:
Yagami
2023-03-28 08:48:20 +08:00
parent b6445955f0
commit 6a1540aba3
+1
View File
@@ -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)