* Fix bug.

This commit is contained in:
leiyong
2020-12-07 15:21:38 +08:00
parent 2914b834b2
commit 917e316962
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -93,7 +93,6 @@ class repo extends control
$this->view->programs = $this->loadModel('program')->getPRJPairs();
$this->view->title = $this->lang->repo->common . $this->lang->colon . $this->lang->repo->create;
$this->view->position[] = html::a(inlink('maintain'), $this->lang->repo->common);
$this->view->position[] = $this->lang->repo->create;
$this->display();
+2 -2
View File
@@ -1329,8 +1329,8 @@ class story extends control
/* Set menu. The projectstory module does not execute. */
if($this->app->rawModule == 'story')
{
$products = $this->product->getPairs();
$this->lang->product->menu = $this->lang->product->viewMenu;
$products = $this->product->getPairs();
$productID = $this->product->saveState($productID, $products);
$this->lang->product->switcherMenu = $this->product->getSwitcher($productID, '', $branch);
$this->product->setMenu($products, $productID, $branch);
@@ -1342,7 +1342,7 @@ class story extends control
$tracks = $this->story->getTracks($productID, $branch, $pager);
$this->view->title = $this->lang->story->track;
$this->view->posision[] = $this->lang->story->track;
$this->view->position[] = $this->lang->story->track;
$this->view->tracks = $tracks;
$this->view->pager = $pager;