diff --git a/module/productplan/control.php b/module/productplan/control.php index 50a799d61c..d1a72c58bb 100644 --- a/module/productplan/control.php +++ b/module/productplan/control.php @@ -266,7 +266,7 @@ class productplan extends control $sort = $this->loadModel('common')->appendOrder($orderBy); $this->commonAction($plan->product, $plan->branch); - $products = $this->product->getProductPairsByProject($this->session->PRJ); + $products = $this->product->getProductPairsByProject($this->session->project); $bugPager = new pager(0, $recPerPage, $type == 'bug' ? $pageID : 1); $storyPager = new pager(0, $recPerPage, $type == 'story' ? $pageID : 1); @@ -368,7 +368,7 @@ class productplan extends control $this->loadModel('tree'); $plan = $this->productplan->getByID($planID); $this->commonAction($plan->product, $plan->branch); - $products = $this->product->getProductPairsByProject($this->session->PRJ); + $products = $this->product->getProductPairsByProject($this->session->project); /* Load pager. */ $this->app->loadClass('pager', $static = true); diff --git a/module/productplan/view/linkbug.html.php b/module/productplan/view/linkbug.html.php index 273391e49a..3bc64c4af9 100644 --- a/module/productplan/view/linkbug.html.php +++ b/module/productplan/view/linkbug.html.php @@ -42,7 +42,7 @@ id => sprintf('%03d', $bug->id)));?>