Fix /submit not testing `ghost` as boolean.

master
Snakes 2022-11-09 16:24:35 -05:00
parent 37dc4474bf
commit 4f0f4412c0
Signed by: Snakes
GPG Key ID: E745A82778055C7E
1 changed files with 1 additions and 1 deletions

View File

@ -770,7 +770,7 @@ def submit_post(v, sub=None):
if embed and len(embed) > 1500: embed = None
ghost = request.values.get("ghost")
ghost = (request.values.get("ghost") == "on")
if embed: embed = embed.strip()