diff --git a/PHPCI/Controller/BuildController.php b/PHPCI/Controller/BuildController.php index b41287aa..56bde07c 100644 --- a/PHPCI/Controller/BuildController.php +++ b/PHPCI/Controller/BuildController.php @@ -79,6 +79,7 @@ class BuildController extends \PHPCI\Controller $build = $this->_buildStore->save($build); header('Location: '.PHPCI_URL.'build/view/' . $build->getId()); + exit; } /** @@ -94,6 +95,7 @@ class BuildController extends \PHPCI\Controller $this->_buildStore->delete($build); header('Location: '.PHPCI_URL.'project/view/' . $build->getProjectId()); + exit; } /**