* [feedback#6610] fix error of passing parameter with unexpected type.

This commit is contained in:
liugang
2024-08-01 11:22:15 +08:00
committed by 王于听
parent 302fc3e7cf
commit 17f7275721
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1874,7 +1874,7 @@ class executionZen extends execution
if(isset($project->hasProduct) and empty($project->hasProduct))
{
$shadowProduct = $this->loadModel('product')->getShadowProductByProject($project->id);
$this->view->productPlan = $this->loadModel('productplan')->getPairs($shadowProduct->id, '0,0', 'noclosed,unexpired', true);
$this->view->productPlan = $this->loadModel('productplan')->getPairs($shadowProduct->id ?? 0, '0,0', 'noclosed,unexpired', true);
}
}