diff --git a/module/execution/control.php b/module/execution/control.php index ec1ddb6b24..79baf197bf 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -818,11 +818,8 @@ class execution extends control if($param) $this->session->set('executionStoryBrowseParam', $param); - a($param); - if(isset($_GET['param'])) - $isAllProduct = $param; - else - $isAllProduct = $this->session->executionStoryBrowseParam; + if(isset($_GET['param'])) $isAllProduct = $param; + else $isAllProduct = $this->session->executionStoryBrowseParam; /* Assign. */ $this->view->title = $title; @@ -849,7 +846,7 @@ class execution extends control $this->view->branchGroups = $branchGroups; $this->view->canBeChanged = common::canModify('execution', $execution); // Determines whether an object is editable. $this->view->showBranch = $showBranch; -a('param:'.$this->view->param.'products:'.count($products)); + $this->display(); } diff --git a/module/execution/view/story.html.php b/module/execution/view/story.html.php index 0892b363a2..bf28419d98 100644 --- a/module/execution/view/story.html.php +++ b/module/execution/view/story.html.php @@ -86,7 +86,7 @@ if($common::hasPriv('story', 'create') and common::hasPriv('story', 'batchCreate')) { - if($isAllProject != 0 || count($products) == 1) echo ""; + if($isAllProduct != 0 || count($products) == 1) echo ""; echo "