forked from MarseyWorld/MarseyWorld
Fix /submit not testing `ghost` as boolean.
parent
37dc4474bf
commit
4f0f4412c0
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue