From 237dc749891f1d6aeb06b2732ca98decfc331bb7 Mon Sep 17 00:00:00 2001 From: wlx Date: Mon, 23 Jun 2014 06:45:27 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8F=91=E5=B8=83=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/models/data/Review.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/models/data/Review.php b/application/models/data/Review.php index 719d16cb..574aa485 100644 --- a/application/models/data/Review.php +++ b/application/models/data/Review.php @@ -315,11 +315,11 @@ class Review extends Zend_Controller_Plugin_Abstract else { if($status==1) - {$sql = "update mdstatus set status='$status',ts_accepted='now()' where id in ($id)"; } + {$sql = "update en.mdstatus set status='$status',ts_accepted='now()' where id in ($id)"; } else if($status==5) - {$sql = "update mdstatus set status='$status',ts_finished='now()' where id in ($id)";} + {$sql = "update en.mdstatus set status='$status',ts_finished='now()' where id in ($id)";} else - {$sql = "update mdstatus set status='$status' where id in ($id)";} + {$sql = "update en.mdstatus set status='$status' where id in ($id)";} try{ if($this->db->exec($sql)>0) {