修复发布错误的问题
This commit is contained in:
parent
d36469db5f
commit
237dc74989
|
@ -315,11 +315,11 @@ class Review extends Zend_Controller_Plugin_Abstract
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if($status==1)
|
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)
|
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
|
else
|
||||||
{$sql = "update mdstatus set status='$status' where id in ($id)";}
|
{$sql = "update en.mdstatus set status='$status' where id in ($id)";}
|
||||||
try{
|
try{
|
||||||
if($this->db->exec($sql)>0)
|
if($this->db->exec($sql)>0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue