fix error
This commit is contained in:
parent
417e587dbc
commit
5791184f19
|
@ -112,7 +112,7 @@ class DataController extends Zend_Controller_Action
|
|||
if (empty($page)) $page=1;
|
||||
$limit=10;
|
||||
$offset=$limit*($page-1);
|
||||
$state=$this->db->query('select count(*) from $this->submd');
|
||||
$state=$this->db->query("select count(*) from $this->submd");
|
||||
$row=$state->fetchAll();
|
||||
$sum=$row[0]['count'];
|
||||
$select=$this->db->select();
|
||||
|
|
Loading…
Reference in New Issue