* Fix bugs for compatible 8.0.

This commit is contained in:
hufangzhou
2021-12-28 16:26:08 +08:00
parent 8407a4a105
commit 2f58499fee
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ class design extends control
/* Print top and right actions. */
$this->lang->TRActions = '<div class="btn-toolbar pull-right">';
if($this->config->maxVersion and common::hasPriv('design', 'submit'))
if(isset($this->config->maxVersion) and common::hasPriv('design', 'submit'))
{
$this->lang->TRActions .= '<div class="btn-group">';
$this->lang->TRActions .= html::a($this->createLink('design', 'submit', "productID=$productID", '', true), "<i class='icon-plus'></i> {$this->lang->design->submit}", '', "class='btn btn-secondary iframe'");