修复发布错误的问题

This commit is contained in:
wlx 2014-06-23 06:45:27 +00:00
parent d36469db5f
commit 237dc74989
1 changed files with 3 additions and 3 deletions

View File

@ -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)
{