diff --git a/module/execution/model.php b/module/execution/model.php index f7e28ab9b7..ea425e1b3b 100755 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -533,7 +533,7 @@ class executionModel extends model $oldExecution = $this->dao->findById($executionID)->from(TABLE_EXECUTION)->fetch(); /* Judgment of required items. */ - if($oldExecution->type != 'stage' and $this->post->code == '' and (isset($this->config->setCode) and $this->config->setCode == 1)) + if($oldExecution->type != 'stage' and $this->post->code == '' and isset($this->config->setCode) and $this->config->setCode == 1) { dao::$errors['code'] = sprintf($this->lang->error->notempty, $this->lang->execution->code); return false;