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,
|
story = story_id,
|
||||||
err = "",
|
err = "",
|
||||||
tags = tags_txt,
|
tags = tags_txt,
|
||||||
unlisted = unlisted
|
unlisted = unlisted == 1
|
||||||
}
|
}
|
||||||
http_response(req,200,ret)
|
http_response(req,200,ret)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue