* Finish task#8161.

This commit is contained in:
leiyong
2020-10-23 11:37:27 +08:00
parent baddd03444
commit dd304cd104
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -2332,7 +2332,7 @@ class project extends control
return $this->send(array('result' => 'fail'));
}
$idList = explode(',', $this->post->projects);
$idList = explode(',', trim($this->post->projects, ','));
$projects = $this->dao->select('id, `order`')->from(TABLE_PROJECT)
->where('id')->in($idList)
->fetchPairs('id', 'order');