* Fix product api.
This commit is contained in:
@@ -279,8 +279,8 @@ class projectrelease extends control
|
||||
|
||||
/**
|
||||
* Notify for release.
|
||||
*
|
||||
* @param int $releaseID
|
||||
*
|
||||
* @param int $releaseID
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
@@ -290,7 +290,7 @@ class projectrelease extends control
|
||||
{
|
||||
if(isset($_POST['notify']))
|
||||
{
|
||||
$notify = implode(',', $this->post->notify);
|
||||
$notify = implode(',', $this->post->notify);
|
||||
$this->dao->update(TABLE_RELEASE)->set('notify')->eq($notify)->where('id')->eq($releaseID)->exec();
|
||||
|
||||
$this->release->sendmail($releaseID);
|
||||
@@ -298,7 +298,7 @@ class projectrelease extends control
|
||||
|
||||
$this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => 'parent'));
|
||||
}
|
||||
|
||||
|
||||
$this->view->release = $this->release->getById($releaseID);
|
||||
$this->view->actions = $this->loadModel('action')->getList('release', $releaseID);
|
||||
$this->view->users = $this->loadModel('user')->getPairs('noletter|noclosed');
|
||||
|
||||
Reference in New Issue
Block a user