Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
question2answer
Overview
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
outils
question2answer
Commits
c7b2c7a2
Commit
c7b2c7a2
authored
Apr 06, 2017
by
Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix SQL query
parent
d7903bea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
votes.php
qa-include/db/votes.php
+1
-1
No files found.
qa-include/db/votes.php
View file @
c7b2c7a2
...
@@ -138,7 +138,7 @@ function qa_db_uservote_post_get($postid)
...
@@ -138,7 +138,7 @@ function qa_db_uservote_post_get($postid)
function
qa_db_uservoteflag_user_get
(
$userid
)
function
qa_db_uservoteflag_user_get
(
$userid
)
{
{
return
qa_db_read_all_values
(
qa_db_query_sub
(
return
qa_db_read_all_values
(
qa_db_query_sub
(
'SELECT postid FROM ^uservotes WHERE userid=# AND (vote!=0
) OR (
flag!=0)'
,
'SELECT postid FROM ^uservotes WHERE userid=# AND (vote!=0
OR
flag!=0)'
,
$userid
$userid
));
));
}
}
...
...
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