Merge branch 'sprint/189_mayue_fixbug#22412' into 'master'

* Fix bug #22412.

See merge request easycorp/zentaopms!3361
This commit is contained in:
孙广明
2022-05-12 05:57:18 +00:00
+1 -1
View File
@@ -472,7 +472,7 @@ class projectModel extends model
$link = helper::createLink('project', 'index', "projectID=%s");
$project = $this->getByID($projectID);
if(strpos(',project,product,projectstory,story,bug,doc,testcase,testtask,testreport,build,projectrelease,stakeholder,issue,risk,meeting,report,measrecord', ',' . $module . ',') !== false)
if(strpos(',project,product,projectstory,story,bug,doc,testcase,testtask,testreport,repo,build,projectrelease,stakeholder,issue,risk,meeting,report,measrecord', ',' . $module . ',') !== false)
{
if($module == 'project' and $method == 'execution')
{