diff --git a/module/my/view/project.html.php b/module/my/view/project.html.php index d8f51b872e..0f43c5afb9 100644 --- a/module/my/view/project.html.php +++ b/module/my/view/project.html.php @@ -91,7 +91,7 @@
diff --git a/module/program/view/browsebylist.html.php b/module/program/view/browsebylist.html.php index 5e91d301cc..2d7694fbf5 100644 --- a/module/program/view/browsebylist.html.php +++ b/module/program/view/browsebylist.html.php @@ -103,7 +103,7 @@
diff --git a/module/project/control.php b/module/project/control.php index 330545a655..dd8c4a05c6 100644 --- a/module/project/control.php +++ b/module/project/control.php @@ -1465,13 +1465,12 @@ class project extends control /** * Manage products. * - * @param int $projectID - * @param int $programID + * @param int $projectID * @param string $from project|program|programproject * @access public * @return void */ - public function manageProducts($projectID, $programID = 0, $from = 'project') + public function manageProducts($projectID, $from = 'project') { $this->loadModel('product'); $this->loadModel('program'); @@ -1510,9 +1509,9 @@ class project extends control $this->project->setMenu($projectID); } - $allProducts = $this->program->getProductPairs($project->parent, 'assign', 'noclosed'); - $linkedProducts = $this->product->getProducts($project->id); - $linkedBranches = array(); + $allProducts = $this->program->getProductPairs($project->parent, 'assign', 'noclosed'); + $linkedProducts = $this->product->getProducts($project->id); + $linkedBranches = array(); /* If the story of the product which linked the project, you don't allow to remove the product. */ $unmodifiableProducts = array(); diff --git a/module/project/model.php b/module/project/model.php index 4024157563..a078124118 100644 --- a/module/project/model.php +++ b/module/project/model.php @@ -1381,7 +1381,7 @@ class projectModel extends model echo "
"; echo ""; echo "";