From 531783ada324b0640c374568dc1951dbdebe3dfd Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Fri, 17 Nov 2023 16:48:22 +0800 Subject: [PATCH] * Fix bug #40615. --- module/common/model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/common/model.php b/module/common/model.php index c279c0301e..9f458e8150 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -2646,6 +2646,7 @@ EOF; 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($module == 'requirement' and $method == 'processstorychange') $module = 'story'; if($app->config->vision != 'lite' and $module == 'feedback' and $method == 'view') $method = 'adminview'; /* If the user is doing a tutorial, have all tutorial privs. */