diff --git a/module/common/lang/common.php b/module/common/lang/common.php index da2c1165df..359d698891 100644 --- a/module/common/lang/common.php +++ b/module/common/lang/common.php @@ -9,6 +9,7 @@ $lang->project = new stdclass(); $lang->scrum = new stdclass(); $lang->waterfall = new stdclass(); $lang->execution = new stdclass(); +$lang->story = new stdclass(); $lang->release = new stdclass(); $lang->branch = new stdclass(); $lang->productplan = new stdclass(); @@ -62,6 +63,14 @@ $lang->team = new stdclass(); $lang->automation = new stdclass(); $lang->personnel = new stdclass(); $lang->mail = new stdclass(); +$lang->testsuite = new stdclass(); +$lang->caselib = new stdclass(); +$lang->ci = new stdclass(); +$lang->datatable = new stdclass(); +$lang->tree = new stdclass(); +$lang->api = new stdclass(); +$lang->file = new stdclass(); +$lang->misc = new stdclass(); $lang->projectrelease = new stdclass(); $lang->projectstory = new stdclass(); diff --git a/module/repo/control.php b/module/repo/control.php index 137718121f..6c53faba2d 100644 --- a/module/repo/control.php +++ b/module/repo/control.php @@ -56,7 +56,7 @@ class repo extends control } else { - $this->repo->setMenu($repos, $repoID); + $this->repo->setMenu($this->repos, $repoID); } if(empty($this->repos) and $this->methodName != 'create') die(js::locate($this->repo->createLink('create', "objectID=$objectID"))); @@ -124,7 +124,7 @@ class repo extends control $this->view->position[] = $this->lang->repo->create; $this->view->groups = $this->loadModel('group')->getPairs(); $this->view->users = $this->loadModel('user')->getPairs('noletter|noempty|nodeleted'); - $this->view->products = $this->loadModel('product')->getProductPairsByProject($this->projectID); + $this->view->products = $this->loadModel('product')->getProductPairsByProject($objectID); $this->display(); }