diff --git a/application/default/controllers/DataController.php b/application/default/controllers/DataController.php index 0eb2e133..db6809b7 100755 --- a/application/default/controllers/DataController.php +++ b/application/default/controllers/DataController.php @@ -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();