* [task#131245,done,0.2h] fix bug.

This commit is contained in:
sunguangming
2024-11-01 14:30:59 +08:00
committed by 谢杞钰
parent aabf5b7e1a
commit 91f1f06576
+1 -1
View File
@@ -2037,7 +2037,7 @@ class productModel extends model
{
$flow = $this->loadModel('workflow')->getByModule($module);
if(in_array($flow->app, array('scrum', 'waterfall'))) $flow->app = 'project';
if(!empty($flow) && $flow->buildin == '0') return helper::createLink('flow', 'ajaxSwitchBelong', "objectID=%s&moduleName=$module") . "app=$flow->app";
if(!empty($flow) && $flow->buildin == '0') return helper::createLink('flow', 'ajaxSwitchBelong', "objectID=%s&moduleName=$module") . "#app=$flow->app";
}
if($module == 'execution' && in_array($method, array('bug', 'testcase'))) return helper::createLink($module, $method, "executionID={$params[0]}&productID=%s{$branchParam}");