Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dcarfixers
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
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
Tobin
dcarfixers
Commits
cf83cf45
Commit
cf83cf45
authored
5 years ago
by
Jansa Jose
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into 'local_production'
get mechanic review See merge request
!127
parents
ab34044a
630dd7b9
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 @
cf83cf45
...
@@ -1525,7 +1525,7 @@ class Webservice_model extends CI_Model {
...
@@ -1525,7 +1525,7 @@ class Webservice_model extends CI_Model {
if
(
$start
!=
0
||
$per_page
!=
0
){
if
(
$start
!=
0
||
$per_page
!=
0
){
$this
->
db
->
limit
(
$per_page
,
$start
);
$this
->
db
->
limit
(
$per_page
,
$start
);
}
}
$review
=
$this
->
db
->
get_where
(
'mechanic_rating'
,
array
(
'mechanic_id'
=>
$postData
[
'mechanic_id'
],
'status'
=>
'1'
));
$review
=
$this
->
db
->
get_where
(
'mechanic_rating'
,
array
(
'mechanic_id'
=>
$postData
[
'mechanic_id'
],
'
mechanic_rating.
status'
=>
'1'
));
if
(
!
empty
(
$review
)
&&
!
empty
(
$reviewData
=
$review
->
result_array
())){
if
(
!
empty
(
$review
)
&&
!
empty
(
$reviewData
=
$review
->
result_array
())){
foreach
(
$reviewData
as
$key
=>
$value
)
{
foreach
(
$reviewData
as
$key
=>
$value
)
{
$reviewData
[
$key
][
'rate'
]
=
(
float
)
$value
[
'rate'
];
$reviewData
[
$key
][
'rate'
]
=
(
float
)
$value
[
'rate'
];
...
...
This diff is collapsed.
Click to expand it.
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