diff --git a/module/build/control.php b/module/build/control.php index aa1dc47bef..918fcf2d6e 100644 --- a/module/build/control.php +++ b/module/build/control.php @@ -62,6 +62,12 @@ class build extends control $execution = $this->execution->getByID($executionID); $executions = $this->execution->getPairs($execution->project); } + + $executionList = $this->execution->getByIdList(array_keys($executions)); + foreach($executionList as $execution) + { + if($execution->lifetime == 'ops') unset($executions[$execution->id]); + } $productGroups = $this->loadModel('product')->getProducts($executionID); $productID = $productID ? $productID : key($productGroups);