From 5cecfcabdff63d107daedb89f8bcdcc255b5ceaa Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Wed, 30 Jul 2025 08:50:49 +0000 Subject: [PATCH] * [bug#64414] Load model of project in execution. --- module/execution/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/model.php b/module/execution/model.php index a03a8b24e7..472adc91ef 100755 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -4932,7 +4932,7 @@ class executionModel extends model $execution->PMAvatar = zget($avatarList, $execution->PMAccount, ''); } - if(in_array($this->config->edition, array('max', 'ipd'))) $execution->deliverable = $this->project->countDeliverable($execution, 'execution'); + if(in_array($this->config->edition, array('max', 'ipd'))) $execution->deliverable = $this->loadModel('project')->countDeliverable($execution, 'execution'); $rows[$execution->id] = $execution;