|
@@ -467,7 +467,7 @@ class Project extends Base_Controller {
|
|
|
}
|
|
|
$projectIdArr = array_column($data, 'id');
|
|
|
$sectionWhere['projectid'] = $projectIdArr;
|
|
|
- $sectionList = $this->Lamp_model->get_list($sectionWhere, 'section as name,projectid',NULL, NULL, 'convert(section using gbk) asc', NUll);
|
|
|
+ $sectionList = $this->Lamp_model->get_list($sectionWhere, 'section as name,projectid',NULL, NULL, 'convert(section using gbk) asc', 'projectid,section');
|
|
|
foreach ($sectionList as $key => $value) {
|
|
|
if (isset($temp[$value['projectid']])) {
|
|
|
unset($value['projectid']);
|