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
c6c2f069
You need to sign in or sign up before continuing.
Commit
c6c2f069
authored
5 years ago
by
Tobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dc
parent
739e9062
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
Api_model.php
application/models/Api_model.php
+0
-7
No files found.
application/models/Api_model.php
View file @
c6c2f069
...
@@ -1770,15 +1770,8 @@ class Api_model extends CI_Model {
...
@@ -1770,15 +1770,8 @@ class Api_model extends CI_Model {
FROM checker_bookings AS CBOOK
FROM checker_bookings AS CBOOK
INNER JOIN checker AS CHK ON (CHK.id=
$checker_id
)
INNER JOIN checker AS CHK ON (CHK.id=
$checker_id
)
INNER JOIN booking AS BOOK ON (BOOK.bookId=CBOOK.booking_id)
INNER JOIN booking AS BOOK ON (BOOK.bookId=CBOOK.booking_id)
<<<<<<< HEAD
INNER JOIN events AS EVT ON (EVT.event_id=BOOK.event_id AND
EVT.provider_id=CHK.provider_id)
WHERE CBOOK.checker_id='
$checker_id
' AND BOOK.status='1'"
;
=======
INNER JOIN events AS EVT ON (EVT.event_id=BOOK.event_id)
INNER JOIN events AS EVT ON (EVT.event_id=BOOK.event_id)
WHERE EVT.provider_id=CHK.provider_id AND BOOK.status='1'"
;
WHERE EVT.provider_id=CHK.provider_id AND BOOK.status='1'"
;
pr(
$sql
);
>>>>>>> 35e64468038d7469ca02c0914cd0daa42d2399e4
$count
=
$this
->
db
->
query
(
$sql
)
->
num_rows
();
$count
=
$this
->
db
->
query
(
$sql
)
->
num_rows
();
if
(
$count
>
0
)
{
if
(
$count
>
0
)
{
...
...
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