Commit 5c2b7c32 by Jansa Jose

Merge branch 'master' into 'dev_production'

J : get country code api changes See merge request !214
parents 78e66e27 0bdd0358
......@@ -853,7 +853,7 @@ class Organizer_model extends CI_Model {
public function getCountryCode(){
try{
$sql = "SELECT country_id,country_name,country_code,phone_code FROM country WHERE status=1";
$sql = "SELECT DISTINCT phone_code,country_id,country_name,country_code FROM country WHERE status=1";
$ctryData = $this->db->query($sql);
if(empty($ctryData) || empty($ctryData = $ctryData->result_array())){
$res = array('status'=>0,'message'=>'No Data Found','code'=>'ER06');
......
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