Commit 19d3c89e by Jansa Jose

dc

parent 510e2a36
...@@ -455,7 +455,7 @@ class Webservice_model extends CI_Model { ...@@ -455,7 +455,7 @@ class Webservice_model extends CI_Model {
} }
foreach ($mechData as $key => $value) { foreach ($mechData as $key => $value) {
$mechData[$key]['distance'] = (float)$value['distance']; $mechData[$key]['distance'] = (float)$value['distance'];
$mechData[$key]['review'] = [];
$this->db->order_by('id','DESC'); $this->db->order_by('id','DESC');
$this->db->limit('2','0'); $this->db->limit('2','0');
$mechRvw = $this->db->get_where('mechanic_rating',array('mechanic_id'=>$value['mechanic_id'],'status'=>'1')); $mechRvw = $this->db->get_where('mechanic_rating',array('mechanic_id'=>$value['mechanic_id'],'status'=>'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