* Fix product.php builds bug.

This commit is contained in:
songchenxuan
2022-04-01 15:47:02 +08:00
parent 38e5c5d2f5
commit 88fb85c27b
+1 -1
View File
@@ -58,7 +58,7 @@ class productEntry extends Entry
$product->moduleOptionMenu = $this->loadModel('tree')->getOptionMenu($productID, 'bug', 0, 'all');
break;
case 'builds':
$product->builds = $this->loadModel('build')->getBuildPairs($productID, 'all', 'noempty,noterminate,nodone,withbranch');
$product->builds = $this->loadModel('build')->getBuildPairs($productID, 'all', 'noempty,noterminate,nodone,withbranch', $this->param('object', 0), $this->param('objectType', 'execution'));
break;
case 'actions':
$product->addComment = common::hasPriv('action', 'comment') ? true : false;