diff --git a/module/execution/control.php b/module/execution/control.php index cc1634ba14..c73ae2f10a 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -2915,10 +2915,7 @@ class execution extends control $products = $this->product->getProducts($objectID); $queryID = ($browseType == 'bySearch') ? (int)$param : 0; $browseLink = $this->session->executionStoryList; - if($this->app->tab == 'project') - { - $browseLink = $this->createLink('projectstory', 'story', "objectID=$objectID"); - } + if($this->app->tab == 'project') $browseLink = $this->createLink('projectstory', 'story', "objectID=$objectID"); $this->session->set('storyList', $this->app->getURI(true), $this->app->tab); // Save session.