fix spell error.
This commit is contained in:
parent
8c1738137a
commit
daf926df4d
|
@ -23,7 +23,7 @@ class Admin_ReviewController extends Zend_Controller_Action
|
|||
|
||||
foreach ($queue as $k=>$v)
|
||||
{
|
||||
$queue[$k]['status']=$this->rewiterstatus($v['status']);
|
||||
$queue[$k]['status']=$this->rewritestatus($v['status']);
|
||||
}
|
||||
|
||||
$this->view->queue = $queue;
|
||||
|
@ -49,7 +49,7 @@ class Admin_ReviewController extends Zend_Controller_Action
|
|||
|
||||
}//indexAction
|
||||
|
||||
function rewiterstatus($status){
|
||||
function rewritestatus($status){
|
||||
if($status==-1)
|
||||
{return "取消评审";}
|
||||
else if($status==0)
|
||||
|
@ -204,7 +204,7 @@ class Admin_ReviewController extends Zend_Controller_Action
|
|||
if(count($expname>0))
|
||||
{$rows['exps'] = join(',',$expname);}
|
||||
|
||||
$rows['status'] = $this->rewiterstatus($rows['status']);
|
||||
$rows['status'] = $this->rewritestatus($rows['status']);
|
||||
|
||||
$this->view->info = $rows;
|
||||
|
||||
|
@ -230,7 +230,7 @@ class Admin_ReviewController extends Zend_Controller_Action
|
|||
|
||||
foreach ($rows as $k=>$v)
|
||||
{
|
||||
$rows[$k]['status']=$this->rewiterstatus($v['status']);
|
||||
$rows[$k]['status']=$this->rewritestatus($v['status']);
|
||||
}
|
||||
|
||||
$paginator = Zend_Paginator::factory($rows);
|
||||
|
|
Loading…
Reference in New Issue