diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-01-22 17:03:25 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-01-25 16:49:08 +0000 |
commit | 84a132729508b33fd2120a8ad8644c07a5658ea1 (patch) | |
tree | 2a98efc83c96817f9742edc9a2e68bfffc78fd7b /perllib/FixMyStreet/App/Controller/Report.pm | |
parent | e85fb7c97a214cc28db36bee0098b80aa02da342 (diff) |
Stop redirecting on moderation error.
This will also be used by the moderation conflict code.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report.pm b/perllib/FixMyStreet/App/Controller/Report.pm index 3078a4a2e..1eac76c9a 100644 --- a/perllib/FixMyStreet/App/Controller/Report.pm +++ b/perllib/FixMyStreet/App/Controller/Report.pm @@ -255,7 +255,7 @@ sub load_updates : Private { $c->stash->{updates} = \@combined; if ($c->sessionid) { - foreach (qw(alert_to_reporter anonymized moderate_errors)) { + foreach (qw(alert_to_reporter anonymized)) { $c->stash->{$_} = $c->flash->{$_} if $c->flash->{$_}; } } |