From 5cfff22e5af3cf301a3dc18ff64d7ca86d9c699f Mon Sep 17 00:00:00 2001 From: zhouxin Date: Wed, 30 Mar 2022 03:27:30 +0000 Subject: [PATCH] * Fix bug #21131. --- module/execution/model.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/execution/model.php b/module/execution/model.php index 7ff1ee125d..4aaf1fbfbb 100644 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -527,6 +527,8 @@ class executionModel extends model ->limit(1) ->exec(); + if(dao::isError()) return false; + /* Get team and language item. */ $this->loadModel('user'); $team = $this->user->getTeamMemberPairs($executionID, 'execution');