From a80eca0ab53d9e71fcce7bd3fbe71a2d6230e2ef Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Tue, 12 Oct 2021 15:42:58 +0800 Subject: [PATCH] * Fix bug #15477. --- module/execution/model.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/execution/model.php b/module/execution/model.php index 22c7a0298d..14e873a5fe 100644 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -1180,6 +1180,8 @@ class executionModel extends model */ public function getByProject($projectID, $status = 'all', $limit = 0, $pairs = false) { + if(defined('TUTORIAL')) return $this->loadModel('tutorial')->getExecutionPairs(); + $project = $this->loadModel('project')->getByID($projectID); $orderBy = (isset($project->model) and $project->model == 'waterfall') ? 'begin_asc,id_asc' : 'begin_desc,id_desc';