This commit is contained in:
hufangzhou
2023-10-10 14:37:49 +08:00
parent 3e140a4730
commit 44920d4d44
+1 -1
View File
@@ -962,7 +962,7 @@ class productModel extends model
$product = fixer::input('post')
->add('id', $productID)
->setDefault('status', 'closed')
->setDefault('closedDate', helper::now())
->setDefault('closedDate', helper::today())
->stripTags($this->config->product->editor->close['id'], $this->config->allowedTags)
->remove('comment')
->get();