Commit 38e1bdae by Jansa Jose

Merge branch 'master' into 'dev_production'

get reviews See merge request !1
parents d3547fd5 3504389f
......@@ -2752,7 +2752,7 @@ public function end_ride_update_post(){
$data = (array) json_decode(file_get_contents("php://input"));
if(isset($data['user_id']) && strlen($data['user_id'])){
$result = $this->Webservice_model->get_reviews($data);
if($result){
if($result['status'] == 'success'){
$res = array('status'=>'success','data'=>$result['data']);
}else{
$res = array('status'=>'failed');
......
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