Commit 9f3f27aa by Tobin

Merge branch 'master' into 'dev_production'

dc See merge request !288
parents a2b50219 db3f2072
...@@ -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('ER06','Ohh No!! Something went South!!'); $this->errorResponse($res['code'],$res['message']);
} }
} }
......
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