Skip to content
Snippets Groups Projects
Commit 8dad08a9 authored by Mark Haines's avatar Mark Haines
Browse files

Fix SQL to supply arguments in the same order

parent 0a7d3cd0
No related branches found
No related tags found
No related merge requests found
......@@ -272,8 +272,8 @@ class EventPushActionsStore(SQLBaseStore):
" AND ep.stream_ordering > rl.stream_ordering"
" )"
" )"
" AND ep.stream_ordering > ?"
" AND ep.user_id = ?"
" AND ep.stream_ordering > ?"
" AND ep.stream_ordering <= ?"
" ORDER BY ep.stream_ordering DESC LIMIT ?"
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment