Hotfix
Fix comments showing up on the wrong stories.
This commit is contained in:
parent
bcb48bae3d
commit
496066e3aa
@ -684,6 +684,7 @@ local function read_story(host,path,idp,show_comments,iam)
|
||||
else
|
||||
cachestr = string.format("%s%s",host,path)
|
||||
end
|
||||
print("cachestr was:",cachestr)
|
||||
local readstoryf = function()
|
||||
local id = decode_id(idp)
|
||||
stmnt_read:bind_names{
|
||||
@ -712,6 +713,7 @@ local function read_story(host,path,idp,show_comments,iam)
|
||||
})
|
||||
err = stmnt_comments:step()
|
||||
end
|
||||
stmnt_comments:reset()
|
||||
text = zlib.decompress(text)
|
||||
stmnt_read:reset()
|
||||
return pages.read{
|
||||
|
Loading…
x
Reference in New Issue
Block a user