* Rename function.
This commit is contained in:
@@ -766,7 +766,7 @@ class program extends control
|
||||
|
||||
$this->view->pmUsers = $this->loadModel('user')->getPairs('noclosed|nodeleted|pmfirst');
|
||||
$this->view->users = $this->user->getPairs('noclosed|nodeleted');
|
||||
$this->view->programs = array('' => '') + $this->program->getPRJPairsByTemplate($model, $programID);
|
||||
$this->view->programs = array('' => '') + $this->program->getPRJPairsByModel($model, $programID);
|
||||
$this->view->products = $products;
|
||||
$this->view->allProducts = array('0' => '') + $allProducts;
|
||||
$this->view->productPlans = array('0' => '') + $productPlans;
|
||||
|
||||
@@ -1024,7 +1024,7 @@ class programModel extends model
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function getPRJPairsByTemplate($model, $programID = 0)
|
||||
public function getPRJPairsByModel($model, $programID = 0)
|
||||
{
|
||||
return $this->dao->select('id, name')->from(TABLE_PROGRAM)
|
||||
->where('type')->eq('project')
|
||||
|
||||
Reference in New Issue
Block a user