* Finish task#8161.
This commit is contained in:
@@ -458,6 +458,7 @@ class programModel extends model
|
||||
->fi()
|
||||
->beginIF($from == 'product')
|
||||
->andWhere('type')->eq('program')
|
||||
->andWhere('grade')->eq(1)
|
||||
->andWhere('id')->in($this->app->user->view->programs)
|
||||
->fi()
|
||||
->beginIF(!$this->cookie->showClosed)->andWhere('status')->ne('closed')->fi()
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user