Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
TimeOutAdmin
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TimeOut
TimeOutAdmin
Commits
5c2b7c32
Commit
5c2b7c32
authored
Nov 21, 2019
by
Jansa Jose
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into 'dev_production'
J : get country code api changes See merge request
!214
parents
78e66e27
0bdd0358
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Organizer_model.php
application/models/Organizer_model.php
+1
-1
No files found.
application/models/Organizer_model.php
View file @
5c2b7c32
...
...
@@ -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'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment