Fixes newThread regression.
This commit is contained in:
parent
3a87ecb0ab
commit
b9df0ec895
1 changed files with 1 additions and 3 deletions
|
|
@ -447,9 +447,7 @@ proc executeReply(c: TForumData, threadId: int, content: string,
|
||||||
let isLocked = getValue(
|
let isLocked = getValue(
|
||||||
db,
|
db,
|
||||||
sql"""
|
sql"""
|
||||||
select isLocked from thread where id in (
|
select isLocked from thread where id = ?;
|
||||||
select thread from post where id = ?
|
|
||||||
)
|
|
||||||
""",
|
""",
|
||||||
threadId
|
threadId
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue