* [bug] fix drop menu app bug.

This commit is contained in:
sunguangming
2024-11-01 14:30:59 +08:00
committed by 谢杞钰
parent baea2f5c36
commit aabf5b7e1a
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -360,6 +360,7 @@ class programZen extends program
if($this->config->edition != 'open')
{
$flow = $this->loadModel('workflow')->getByModule($moduleName);
if(in_array($flow->app, array('scrum', 'waterfall'))) $flow->app = 'project';
if(!empty($flow) && $flow->buildin == '0') return helper::createLink('flow', 'ajaxSwitchBelong', "objectID=$programID&moduleName=$moduleName") . "#app=$flow->app";
}
if($moduleName == 'project')