From 5888f81ba2ed629c0819d2df067bbfc05df450dd Mon Sep 17 00:00:00 2001 From: wlx Date: Thu, 17 May 2012 02:07:40 +0000 Subject: [PATCH] add ts_accepted time in sql. --- application/admin/controllers/ReviewController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/admin/controllers/ReviewController.php b/application/admin/controllers/ReviewController.php index 2293f243..4da9d676 100644 --- a/application/admin/controllers/ReviewController.php +++ b/application/admin/controllers/ReviewController.php @@ -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");