From 97f38e11771ea7fdb88eacd35bdf7b4f03abdf08 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Wed, 11 Nov 2015 16:54:23 +0800 Subject: [PATCH] * finish task #2408. --- module/custom/control.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/module/custom/control.php b/module/custom/control.php index 773fa415d0..ebc111a224 100644 --- a/module/custom/control.php +++ b/module/custom/control.php @@ -38,6 +38,14 @@ class custom extends control $this->app->loadLang($module); $this->app->loadConfig('story'); $fieldList = $this->lang->$module->$field; + + if($module == 'bug' and $field == 'typeList') + { + unset($fieldList['designchange']); + unset($fieldList['newfeature']); + unset($fieldList['trackthings']); + } + if(!empty($_POST)) { if($module == 'story' && $field == 'review')