From 44920d4d445c482d63819c2acc664aed33863e73 Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Tue, 10 Oct 2023 14:37:49 +0800 Subject: [PATCH] * Fix bug #39357. --- module/product/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/product/model.php b/module/product/model.php index f37f3a94a0..424b304cc7 100755 --- a/module/product/model.php +++ b/module/product/model.php @@ -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();