Commit f07f7f9a by Tobin

Merge branch 'master' into 'dev_production'

Master See merge request !199
parents f2f7b1e3 837bdfe0
...@@ -735,7 +735,7 @@ class Organizer_model extends CI_Model { ...@@ -735,7 +735,7 @@ class Organizer_model extends CI_Model {
public function getLanguages(){ public function getLanguages(){
try{ try{
$sql = "SELECT country_id AS lang_id,language_code AS lang,language FROM country WHERE status='1' ORDER BY language_code ASC"; $sql = "SELECT country_id AS lang_id,language_code AS lang,language,country_name,country_code FROM country WHERE status='1' ORDER BY language_code ASC";
$lang = $this->db->query($sql); $lang = $this->db->query($sql);
if(empty($lang) || empty($lang = $lang->result_array())){ if(empty($lang) || empty($lang = $lang->result_array())){
$res = array('status'=>0,'message'=>'No Data Found','code'=>'ER05'); $res = array('status'=>0,'message'=>'No Data Found','code'=>'ER05');
......
...@@ -2078,7 +2078,7 @@ class Webservice_model extends CI_Model { ...@@ -2078,7 +2078,7 @@ class Webservice_model extends CI_Model {
return $res; return $res;
} }
public function get_hotel_city_list($data){ public function get_hotel_city_list($data){
try{ try{
$user_id = $this->auth_token_get($data['auth_token']); $user_id = $this->auth_token_get($data['auth_token']);
if($user_id > 0) { if($user_id > 0) {
......
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