* Finish task #39450.

This commit is contained in:
tianshujie98
2021-06-18 09:10:40 +08:00
parent 53cf8a8b2a
commit abe711e334
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -37,3 +37,5 @@ $config->block->shortBlock['']['contribute'] = 'contribute';
$config->statistic = new stdclass();
$config->statistic->storyStages = array('wait', 'planned', 'developing', 'testing', 'released');
$config->block->workMethods = 'task,story,requirement,bug,testcase,testtask,issue,risk,meeting';
+1 -1
View File
@@ -253,7 +253,7 @@ class block extends control
/* The list assigned to me jumps to the work page when click more button. */
$block->moreLink = $this->createLink($moduleName, $method, $vars);
if($moduleName == 'my' and strpos('task|story|requirement|bug|testcase|testtask|issue|risk|meeting', $method))
if($moduleName == 'my' and strpos($this->config->block->workMethods, $method))
{
$block->moreLink = $this->createLink($moduleName, 'work', 'mode=' . $method . '&' . $vars);
}