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(
|
||||
db,
|
||||
sql"""
|
||||
select isLocked from thread where id in (
|
||||
select thread from post where id = ?
|
||||
)
|
||||
select isLocked from thread where id = ?;
|
||||
""",
|
||||
threadId
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue