Commit 32c9427b by Tobin

dc

parent 248e0bf5
......@@ -401,7 +401,7 @@ class Organizer_model extends CI_Model {
WHERE EVT.provider_id ='$provider_id' AND TSEVT.language_code='EN' AND
TSCAT.language_code='EN' AND BUK.status !='4' AND EVDT.status='1'
GROUP BY BUK.id";
$count = $this->db->query()->num_rows();
$count = $this->db->query($sql)->num_rows();
if($count > 0) {
$perPage = 10;
$page = (isset($data['page']))?$data['page']:1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment