forked from MarseyWorld/MarseyWorld
fix bug where edited post options didnt work unless u edit again
parent
a7f3dad605
commit
c560e793d4
|
@ -1066,8 +1066,6 @@ def edit_post(pid, v):
|
|||
|
||||
p.body = body
|
||||
|
||||
process_poll_options(v, p)
|
||||
|
||||
for text in [p.body, p.title, p.url]:
|
||||
if execute_blackjack(v, p, text, 'post'): break
|
||||
|
||||
|
@ -1076,6 +1074,8 @@ def edit_post(pid, v):
|
|||
|
||||
p.body_html = body_html
|
||||
|
||||
process_poll_options(v, p)
|
||||
|
||||
|
||||
if not complies_with_chud(p):
|
||||
abort(403, f'You have to include "{v.chud_phrase}" in your post!')
|
||||
|
|
Loading…
Reference in New Issue