* Fix undefined object.
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user