From 745bb21405ede0d6feb85372305b4a09274fc80c Mon Sep 17 00:00:00 2001 From: velz Date: Mon, 21 Jan 2019 11:49:12 +0530 Subject: [PATCH] GET STATE AND CITY MASTER CHANGED2 --- api/application/controllers/PD_Controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/application/controllers/PD_Controller.php b/api/application/controllers/PD_Controller.php index daf9b4e3..a9092d42 100644 --- a/api/application/controllers/PD_Controller.php +++ b/api/application/controllers/PD_Controller.php @@ -205,7 +205,7 @@ class PD_Controller extends REST_Controller { public function getListOfStatesAndCities_post() { $records = $this->post('records'); - $stateid = $records['']; + $stateid = $records['state_id']; // $fields = array('state_id','name as state_name','code'); // $where_condition_array = array('isactive' => 1); // $result_data = $this->PD_Model->selectCustomRecords($fields,$where_condition_array,STATE);