* [bug#54998] Set project ID to 2 when at the mode of tutorial.

This commit is contained in:
xieqiyu
2024-09-09 16:03:05 +08:00
committed by 唐胡成
parent 97989236f6
commit 7fb1c695d2
3 changed files with 4 additions and 2 deletions
+1
View File
@@ -591,6 +591,7 @@ class tutorialModel extends model
$execution->colWidth = '200';
$execution->openedDate = helper::now();
$execution->closedDate = helper::now();
$execution->milestone = 0;
list($guide, $guideTask, $guideStepIndex) = empty($_SERVER['HTTP_X_ZIN_TUTORIAL']) ? array('', '', '') : explode('-', $_SERVER['HTTP_X_ZIN_TUTORIAL']);
if($guide && strpos($guide, 'scrumProjectManage') !== false)