add ts_accepted time in sql.

This commit is contained in:
wlx 2012-05-17 02:07:40 +00:00
parent e2d29d62c4
commit 5888f81ba2
1 changed files with 1 additions and 1 deletions

View File

@ -539,7 +539,7 @@ class Admin_ReviewController extends Zend_Controller_Action
$this->_redirect("/admin/review/draft"); $this->_redirect("/admin/review/draft");
} }
} else if ($row['status']==5){ } 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->db->query($sql);
$this->messenger->addMessage('操作成功!该数据已重新放入评审'); $this->messenger->addMessage('操作成功!该数据已重新放入评审');
$this->_redirect("/admin/review/accept"); $this->_redirect("/admin/review/accept");