Fix the Unlisted checkbox always being checked
Fixed a bug where the unlisted checkbox was always checked when ending a post.
This commit is contained in:
parent
1f5b113daa
commit
4a99441008
|
@ -61,7 +61,7 @@ local function edit_get(req)
|
|||
story = story_id,
|
||||
err = "",
|
||||
tags = tags_txt,
|
||||
unlisted = unlisted
|
||||
unlisted = unlisted == 1
|
||||
}
|
||||
http_response(req,200,ret)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue