* Fix feedback2356 edit function.

This commit is contained in:
chaideqing
2023-03-02 15:55:01 +08:00
parent df651dd614
commit 81e76a0e1e
+11
View File
@@ -5783,6 +5783,17 @@ class executionModel extends model
$post = $_POST;
$_POST = array();
$extendFields = $this->dao->select('field')
->from(TABLE_WORKFLOWFIELD)
->where('module')->eq('project')
->andWhere('buildin')->eq(0)
->andWhere('role')->eq('custom')
->fetchPairs('field');
foreach(array_keys($extendFields) as $key)
{
if(isset($post[$key])) $_POST[$key] = $post[$key];
}
$_POST['project'] = $projectID;
$_POST['name'] = $project->name;
$_POST['begin'] = $project->begin;