diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-10-24 12:54:06 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-10-26 14:16:39 +0100 |
commit | 0ede84d2c7eca6915220e62d4892f52aa2611cee (patch) | |
tree | 389213b686fa091077b8df9a734dc46d64cd3c81 /perllib/FixMyStreet/App/Controller/Report.pm | |
parent | b951485e5c225f02933bcd8f3be2f4a3d3c7f034 (diff) |
Allow moderation to edit extra fields/location.
If a cobrand provides those fields.
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 d4ff0a2ca..5718bc021 100644 --- a/perllib/FixMyStreet/App/Controller/Report.pm +++ b/perllib/FixMyStreet/App/Controller/Report.pm @@ -194,7 +194,7 @@ sub load_updates : Private { $c->stash->{updates} = \@combined; if ($c->sessionid) { - foreach (qw(alert_to_reporter anonymized photo_error)) { + foreach (qw(alert_to_reporter anonymized moderate_errors)) { $c->stash->{$_} = $c->flash->{$_} if $c->flash->{$_}; } } |