From 27ee4d87ed48a01dd5b38abeaa8785a08437cb69 Mon Sep 17 00:00:00 2001 From: zhouxin Date: Thu, 16 Dec 2021 05:15:08 +0000 Subject: [PATCH] Fix bug 17524. --- module/design/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/design/control.php b/module/design/control.php index 38534b115b..1ef8b05dc4 100644 --- a/module/design/control.php +++ b/module/design/control.php @@ -77,7 +77,7 @@ class design extends control /* Print top and right actions. */ $this->lang->TRActions = '
'; - if($this->config->maxVersion) + if($this->config->maxVersion and common::hasPriv('design', 'submit')) { $this->lang->TRActions .= '
'; $this->lang->TRActions .= html::a($this->createLink('design', 'submit', "productID=$productID", '', true), " {$this->lang->design->createReview}", '', "class='btn btn-secondary iframe'");