* Adjust code detail.
This commit is contained in:
@@ -139,7 +139,7 @@ class docModel extends model
|
||||
|
||||
if($lib->type == 'execution' and $lib->execution)
|
||||
{
|
||||
$execution = $this->loadModel('execution')->getByID($lib->execution);
|
||||
$execution = $this->loadModel('execution')->getByID($lib->execution);
|
||||
$lib->project = $execution->project;
|
||||
}
|
||||
|
||||
|
||||
@@ -260,7 +260,7 @@ class projectModel extends model
|
||||
|
||||
$teams = $this->dao->select('root, count(*) as teams')->from(TABLE_TEAM)
|
||||
->where('root')->in($projectIdList)
|
||||
->andWhere('type')->in('project')
|
||||
->andWhere('type')->eq('project')
|
||||
->groupBy('root')->fetchPairs();
|
||||
|
||||
$hours = $this->dao->select('project,
|
||||
@@ -402,7 +402,7 @@ class projectModel extends model
|
||||
}
|
||||
|
||||
/**
|
||||
* Get team members in pair.
|
||||
* Get team members in project.
|
||||
*
|
||||
* @param int $projectID
|
||||
* @param string $params
|
||||
|
||||
Reference in New Issue
Block a user