This commit is contained in:
liumengyi
2022-08-24 17:19:59 +08:00
parent 151ba86838
commit c033a87009
3 changed files with 4 additions and 2 deletions
+1
View File
@@ -2501,6 +2501,7 @@ EOD;
if($module == 'story' and !empty($params['storyType']) and strpos(",story,requirement,", ",{$params['storyType']},") !== false) $module = $params['storyType'];
if($module == 'product' and $method == 'browse' and !empty($app->params['storyType']) and $app->params['storyType'] == 'requirement') $method = 'requirement';
if($module == 'product' and $method == 'browse' and !empty($params['storyType']) and $params['storyType'] == 'requirement') $method = 'requirement';
if($module == 'story' and $method == 'linkrequirements') $module = 'requirement';
/* If the user is doing a tutorial, have all tutorial privs. */
if(defined('TUTORIAL'))