* [bug#57645] Add the tutorial for execution.
This commit is contained in:
@@ -100,7 +100,7 @@ class executionModel extends model
|
||||
*/
|
||||
public function setMenu(int $executionID)
|
||||
{
|
||||
$execution = $this->fetchByID((int)$executionID);
|
||||
$execution = commonModel::isTutorialMode() ? $this->loadModel('tutorial')->getExecution() : $this->fetchByID((int)$executionID);
|
||||
if(!$execution) return;
|
||||
|
||||
if($execution->type == 'kanban') $this->executionTao->setKanbanMenu();
|
||||
|
||||
Reference in New Issue
Block a user