diff --git a/module/execution/control.php b/module/execution/control.php index d4ef2cbb54..5d47dfe10f 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -2549,13 +2549,6 @@ class execution extends control if(!empty($_POST)) { - /* Get executionType and determine whether a product is linked with the stage. */ - $executionType = $this->dao->findById($executionID)->from(TABLE_EXECUTION)->fetch('type'); - if($executionType == 'stage') - { - if(!isset($_POST['products'])) return print(js::alert($this->lang->execution->noLinkProduct) . js::locate($this->createLink('execution', 'manageProducts', "executionID=$executionID&from=$from"))); - } - $oldProducts = $this->product->getProducts($executionID); if($from == 'buildCreate' && $this->session->buildCreate) $browseExecutionLink = $this->session->buildCreate;