diff --git a/module/product/model.php b/module/product/model.php index d41fd6bd4b..be82985f72 100644 --- a/module/product/model.php +++ b/module/product/model.php @@ -376,7 +376,7 @@ class productModel extends model if($browseType == 'draftstory') $stories = $this->story->getByStatus($productID, $branch, 'draft', $sort, $pager); if($browseType == 'activestory') $stories = $this->story->getByStatus($productID, $branch, 'active', $sort, $pager); if($browseType == 'changedstory') $stories = $this->story->getByStatus($productID, $branch, 'changed', $sort, $pager); - if($browseType == 'willclose') $stories = $this->story->getWillClose($productID, $branch, $sort, $pager); + if($browseType == 'willclose') $stories = $this->story->get2BeClosed($productID, $branch, $sort, $pager); if($browseType == 'closedstory') $stories = $this->story->getByStatus($productID, $branch, 'closed', $sort, $pager); if($stories) return $stories; diff --git a/module/story/model.php b/module/story/model.php index 676b77eb53..17c57ee8e2 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -1287,7 +1287,7 @@ class storyModel extends model } /** - * Get will close stories. + * Get to be closed stories. * * @param int $productID * @param string $orderBy @@ -1295,7 +1295,7 @@ class storyModel extends model * @access public * @return array */ - public function getWillClose($productID, $branch, $orderBy, $pager) + public function get2BeClosed($productID, $branch, $orderBy, $pager) { $stories = $this->dao->select('*')->from(TABLE_STORY) ->where('product')->in($productID) diff --git a/module/story/view/create.html.php b/module/story/view/create.html.php index bc6411558e..b5f0f07c4c 100644 --- a/module/story/view/create.html.php +++ b/module/story/view/create.html.php @@ -87,7 +87,7 @@