* [bug#64414] Load model of project in execution.

This commit is contained in:
xieqiyu
2025-08-06 15:22:15 +08:00
committed by tianshujie
parent 7b5a85edd7
commit 2a85fe5a1f
+1 -1
View File
@@ -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;