Unwanted print_r : ps

This commit is contained in:
sanjeev.p 2021-09-02 10:20:39 +05:30
parent a6fef218da
commit 2bf0272bff

View File

@ -5008,7 +5008,7 @@ public function getPDFormDetailsJSON_post()
$data['lender_disclaimer'] = $this->PD_Model->selectRecords(ENTITYDISCLAIMER,array('fk_entity_id' => ($data['pd_master_details'][0]['sub_entity_id'] ? $data['pd_master_details'][0]['sub_entity_id'] : $data['pd_master_details'][0]['fk_lender_id']),'fk_pd_type' => $pd_type));
//}
$entity_geo_location = $this->PD_Model->getEntityAddr($data['pd_master_details'][0]['fk_lender_id']);
print_r($entity_geo_location);die();
// print_r($entity_geo_location);die();
if($entity_geo_location != 0){
$pd_location = $data['pd_master_details'][0]['start_location'];
$data['distances'] = satellite_image::getdistancematrix($entity_geo_location,$pd_location);