From f756b892d6f37ba8d04c0cc5a1a8f81e9c0c92eb Mon Sep 17 00:00:00 2001 From: liuhong Date: Wed, 19 Oct 2022 12:53:54 +0000 Subject: [PATCH] * Adjust code format. --- module/execution/model.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/execution/model.php b/module/execution/model.php index ee546cacb1..512691de8c 100644 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -109,7 +109,8 @@ class executionModel extends model unset($this->lang->execution->menu->build); } - if($this->config->edition == 'open' and in_array($execution->attribute, array('request', 'design', 'review'))) + $stageFilter = array('request', 'design', 'review'); + if($this->config->edition == 'open' and in_array($execution->attribute, $stageFilter)) { unset($this->lang->execution->menu->qa); unset($this->lang->execution->menu->build);