* change the code style for browse method of release module.

This commit is contained in:
chenfeiCF
2016-03-12 21:40:24 +08:00
parent 55c2f7e63a
commit 4763dc65f7
+2 -2
View File
@@ -39,9 +39,9 @@ class release extends control
public function browse($productID, $branch = 0)
{
$this->commonAction($productID, $branch);
$products = $this->product->getPairs();
$this->session->set('releaseList', $this->app->getURI(true));
$this->view->title = $products[$productID] . $this->lang->colon . $this->lang->release->browse;
$this->view->title = $this->view->product->name . $this->lang->colon . $this->lang->release->browse;
$this->view->position[] = $this->lang->release->browse;
$this->view->releases = $this->release->getList($productID, $branch);
$this->display();