Commit 6fcba696 by Tobin

Merge branch 'master' into 'live_production'

dc See merge request !88
parents 88b00155 fbe56b6b
...@@ -1578,7 +1578,7 @@ class Webservice_model extends CI_Model { ...@@ -1578,7 +1578,7 @@ class Webservice_model extends CI_Model {
$resCount = $this->db->query($sql)->result(); $resCount = $this->db->query($sql)->result();
if(empty($resCount)){ if(empty($resCount)){
return array('status'=>0,'message'=>'No Data Found','code'=>'ER18'); return array('status'=>1,'data'=>array('events'=>[],'meta'=>$meta));
} }
foreach ($resCount AS $key => $rs) { foreach ($resCount AS $key => $rs) {
......
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