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 {
public function getLanguages(){
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);
if(empty($lang) || empty($lang = $lang->result_array())){
$res = array('status'=>0,'message'=>'No Data Found','code'=>'ER05');
......
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