* Finish task #77611.

This commit is contained in:
wangyuting
2022-11-28 05:22:22 +00:00
parent 3c9b13d794
commit fc51e379f0
3 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -517,7 +517,7 @@ class testtask extends control
/* Get execution type and set assignedToList. */
$execution = $this->execution->getById($task->execution);
if($execution->acl == 'private')
if($execution and $execution->acl == 'private')
{
$assignedToList = $this->loadModel('user')->getTeamMemberPairs($execution->id, 'execution', 'nodeleted');
}