* finish task #2408.

This commit is contained in:
wangyidong
2015-11-11 16:54:23 +08:00
parent fd312662cc
commit 97f38e1177

View File

@@ -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')