From 1981b74eef51d6267289419a1d9b530374c8ce3e Mon Sep 17 00:00:00 2001 From: wangyuting Date: Wed, 24 Dec 2025 13:20:08 +0800 Subject: [PATCH] * [bug#67409,done,1h,0h] Fix check QD required error. --- module/execution/model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/execution/model.php b/module/execution/model.php index 8165caef95..c30d3e92e0 100755 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -427,6 +427,7 @@ class executionModel extends model { if(isset($this->lang->execution->$field)) $this->lang->project->$field = $this->lang->execution->$field; if($oldExecution->type == 'stage' and $field == 'name') $this->lang->project->name = str_replace($this->lang->executionCommon, $this->lang->project->stage, $this->lang->project->name); + if($field == 'QD' && in_array($execution->attribute, array('request', 'design', 'review')) && empty($execution->QD)) $this->config->execution->edit->requiredFields = str_replace(',QD', '', $this->config->execution->edit->requiredFields); } /* Update data. */