Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8cd04f26
authored
May 23, 2017
by
german
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Issue
#248
solucionado
parent
83219b6c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
android/Pictogram/commonlibrary/src/main/java/com/yottacode/pictogram/dao/Device.java
android/Pictogram/commonlibrary/src/main/java/com/yottacode/pictogram/dao/Device.java
View file @
8cd04f26
...
...
@@ -176,7 +176,7 @@ public class Device extends SQLiteOpenHelper {
Cursor
cursor
=
db
.
query
(
"users_detail"
,
null
,
null
,
null
,
null
,
null
,
null
,
null
);
while
(
cursor
.
moveToNext
()
&&
user
==
null
)
if
(
cursor
.
getInt
(
0
)
==
id_stu
&&
cursor
.
getInt
(
9
)
==
id_sup
)
if
(
cursor
.
getInt
(
0
)
==
id_stu
&&
cursor
.
getInt
(
10
)
==
id_sup
)
user
=
new
User
(
cursor
.
getInt
(
0
),
cursor
.
getString
(
1
),
cursor
.
getString
(
2
),
cursor
.
getString
(
3
),
cursor
.
getString
(
4
),
cursor
.
getInt
(
5
),
cursor
.
getString
(
6
),
cursor
.
getString
(
7
),
cursor
.
getString
(
8
),
cursor
.
getString
(
9
),
cursor
.
getInt
(
10
),
cursor
.
getString
(
11
),
cursor
.
getString
(
12
),
cursor
.
getString
(
13
),
cursor
.
getString
(
14
),
cursor
.
getString
(
15
),
cursor
.
getString
(
16
),
cursor
.
getString
(
17
),
...
...
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