Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
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
hujun
tl_estate
Commits
4f034e1a
Commit
4f034e1a
authored
Feb 01, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
39e8fea9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
ChatService.php
application/chat/service/ChatService.php
+1
-2
No files found.
application/chat/service/ChatService.php
View file @
4f034e1a
...
@@ -95,8 +95,7 @@ class ChatService
...
@@ -95,8 +95,7 @@ class ChatService
$where_
[
"inuse"
]
=
1
;
$where_
[
"inuse"
]
=
1
;
$where_
[
"id"
]
=
$userId
;
$where_
[
"id"
]
=
$userId
;
$agentsResult
=
$this
->
agentsModel
->
getAgentsById
(
"id"
,
$where_
);
$agentsResult
=
$this
->
agentsModel
->
getAgentsById
(
"id"
,
$where_
);
if
(
count
(
$agentsResult
)
>
0
&&
$agentsResult
[
0
][
'id'
]
>
0
)
if
(
$agentsResult
[
0
][
'id'
]
>
0
)
$onlyId
=
self
::
SOURCE_TYPE_AGENT
.
$userId
;
$onlyId
=
self
::
SOURCE_TYPE_AGENT
.
$userId
;
break
;
break
;
case
2
:
case
2
:
...
...
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