* Code for fix bug #32505.

This commit is contained in:
tianshujie
2023-02-28 17:03:09 +08:00
parent 87b8f8f9b7
commit 797c0befa2

View File

@@ -153,6 +153,7 @@ class executionModel extends model
if(!$features['build']) unset($this->lang->execution->menu->build);
if(!$features['burn']) unset($this->lang->execution->menu->burn);
if(!$features['other']) unset($this->lang->execution->menu->other);
if(!$features['story'] and $this->config->edition == 'open') unset($this->lang->execution->menu->view);
if($executions and (!isset($executions[$executionID]) or !$this->checkPriv($executionID))) $this->accessDenied();