This commit is contained in:
tianshujie
2024-03-14 09:37:19 +08:00
parent 22bc01942b
commit 6eb986cf6e
+6 -1
View File
@@ -1271,7 +1271,12 @@ class execution extends control
list($pmUsers, $poUsers, $qdUsers, $rdUsers) = $this->executionZen->setUserMoreLink($executions);
/* Set custom fields. */
foreach(explode(',', $this->config->execution->list->customBatchEditFields) as $field) $customFields[$field] = $this->lang->execution->$field;
foreach(explode(',', $this->config->execution->list->customBatchEditFields) as $field)
{
$fieldTitle = $this->app->tab == 'execution' ? str_replace($this->lang->executionCommon, $this->lang->execution->common, $this->lang->execution->$field) : $this->lang->execution->$field;
if($field == 'lifetime') $fieldTitle = $this->app->tab == 'execution' ? $this->lang->execution->execType : $this->lang->execution->type;
$customFields[$field] = $fieldTitle;
}
$parentIdList = array();
foreach($executions as $execution)