mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-27 15:58:06 -05:00
Set errors, don't send_failure on QUOTA_FILLED.
This commit is contained in:
committed by
Neil Williams
parent
3de67b654f
commit
be476a0cef
@@ -293,7 +293,8 @@ class ApiController(RedditController):
|
||||
|
||||
md = safemarkdown(msg)
|
||||
form.set_html(".status", md)
|
||||
form.send_failure(errors.QUOTA_FILLED)
|
||||
c.errors.add(errors.QUOTA_FILLED)
|
||||
form.set_error(errors.QUOTA_FILLED, None)
|
||||
return
|
||||
|
||||
# well, nothing left to do but submit it
|
||||
|
||||
Reference in New Issue
Block a user