diff --git a/module/program/config.php b/module/program/config.php index 44cd52ddfd..96c7144e8e 100644 --- a/module/program/config.php +++ b/module/program/config.php @@ -10,4 +10,4 @@ $config->program->editor->finish = array('id' => 'comment', 'tools' => 'simple $config->program->editor->suspend = array('id' => 'comment', 'tools' => 'simpleTools'); $config->program->list = new stdclass(); -$config->program->list->exportFields = 'id,name,code,type,category,status,begin,end,budget,PM,end,desc'; +$config->program->list->exportFields = 'id,name,code,template,category,status,begin,end,budget,PM,end,desc'; diff --git a/module/program/control.php b/module/program/control.php index a4d794feae..d6f16f8ff6 100644 --- a/module/program/control.php +++ b/module/program/control.php @@ -616,7 +616,7 @@ class program extends control { $program->PM = zget($users, $program->PM); $program->status = $this->processStatus('project', $program); - $program->type = zget($programLang->typeList, $program->type); + $program->template = zget($programLang->templateList, $program->template); $program->category = zget($programLang->categoryList, $program->category); $program->budget = $program->budget . zget($programLang->unitList, $program->budgetUnit);