Commit a2b50219 by Tobin

Merge branch 'master' into 'dev_production'

dc See merge request !287
parents 1c5124ba 488b58f1
...@@ -318,7 +318,7 @@ class Webservice extends CI_Controller { ...@@ -318,7 +318,7 @@ class Webservice extends CI_Controller {
} elseif(isset($res['data']) && !empty($res['data']) && sizeof($res['data'] == 0) && $res['status']!=0){ } elseif(isset($res['data']) && !empty($res['data']) && sizeof($res['data'] == 0) && $res['status']!=0){
$this->response($res['data']); $this->response($res['data']);
}else{ }else{
$this->errorResponse($res['code'],$res['message']); $this->errorResponse('ER06','Ohh No!! Something went South!!');
} }
} }
......
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