From 7d9166bf8e13eb53e4a1d5e4a2e9b10474e18cc3 Mon Sep 17 00:00:00 2001 From: holan20180123 <56391770@qq.com> Date: Thu, 7 Jan 2021 13:02:44 +0800 Subject: [PATCH] * Finish task #8942. --- module/product/model.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/module/product/model.php b/module/product/model.php index 3c10bf15e6..3d49cd4d29 100644 --- a/module/product/model.php +++ b/module/product/model.php @@ -493,6 +493,12 @@ class productModel extends model return $output; } + /** + * Get product main action. + * + * @access public + * @return string + */ public function getProductMainAction() { return common::hasPriv('product', 'all') ? html::a(helper::createLink('product', 'all'), $this->lang->product->moreProduct, '', "class='btn btn-link'") : '';