From 34bb69ec5eca5a4529a9b0bcbc01b43387ad2871 Mon Sep 17 00:00:00 2001 From: Maks Rafalko Date: Mon, 15 Jul 2013 23:28:22 +0300 Subject: [PATCH] Added `exit` to correct redirect after `Build Now` is clicked Withow `exit` statement it's not redirected to new created build. --- PHPCI/Controller/ProjectController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/PHPCI/Controller/ProjectController.php b/PHPCI/Controller/ProjectController.php index 243342c6..bbc8a7b5 100644 --- a/PHPCI/Controller/ProjectController.php +++ b/PHPCI/Controller/ProjectController.php @@ -63,6 +63,7 @@ class ProjectController extends \PHPCI\Controller $build = $this->_buildStore->save($build); header('Location: '.PHPCI_URL.'build/view/' . $build->getId()); + exit; } /**