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
66493ff4
You need to sign in or sign up before continuing.
Commit
66493ff4
authored
Nov 20, 2019
by
Tobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
t : city issue fix
parent
81d663e5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Webservice_model.php
application/models/Webservice_model.php
+1
-1
No files found.
application/models/Webservice_model.php
View file @
66493ff4
...
...
@@ -787,7 +787,7 @@ class Webservice_model extends CI_Model {
FROM region AS REG
INNER JOIN translator_region AS TREG ON (TREG.region_id = REG.id)
WHERE REG.status=1 AND (TREG.language_code='
$lang
' OR TREG.language_code='EN')
GROUP BY city_name
"
;
ORDER BY city_name GROUP BY city_id
"
;
$result
=
$this
->
db
->
query
(
$sql
)
->
result
();
if
(
count
(
$result
)
>
0
){
$res
=
array
(
'status'
=>
1
,
'data'
=>
array
(
'cities'
=>
$result
));
...
...
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