diff --git a/application/models/Webservice_model.php b/application/models/Webservice_model.php index 714b4d9..04d30fa 100644 --- a/application/models/Webservice_model.php +++ b/application/models/Webservice_model.php @@ -341,7 +341,7 @@ class Webservice_model extends CI_Model { $cost = (isset($postData['is_emergency']) && !empty($postData['is_emergency']))?0:$postData['total_cost']; $car_location = (isset($postData['location']) && !empty($postData['location']))?$postData['location']:''; $car_loc_lat = (isset($postData['location_lat']) && !empty($postData['location_lat']))?$postData['location_lat']:''; - $car_loc_lng = (isset($postData['location_long']) && !empty($postData['location_long']))?$postData['location_long']:''; + $car_loc_lng = (isset($postData['location_lng']) && !empty($postData['location_lng']))?$postData['location_lng']:''; $insert_array = array( 'cost'=>$cost, 'scheduled_date'=>$date,