* 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

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);
}