add ts_accepted time in sql.
This commit is contained in:
parent
e2d29d62c4
commit
5888f81ba2
|
@ -539,7 +539,7 @@ class Admin_ReviewController extends Zend_Controller_Action
|
|||
$this->_redirect("/admin/review/draft");
|
||||
}
|
||||
} else if ($row['status']==5){
|
||||
$sql="update mdstatus set status=1 where status=5 and id=".$row['id'];
|
||||
$sql="update mdstatus set status=1,ts_accepted=now() where status=5 and id=".$row['id'];
|
||||
$this->db->query($sql);
|
||||
$this->messenger->addMessage('操作成功!该数据已重新放入评审');
|
||||
$this->_redirect("/admin/review/accept");
|
||||
|
|
Loading…
Reference in New Issue