aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Report.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-06-21 13:53:49 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-06-21 14:08:16 +0100
commita05362b17703bfa073ebf49056d0808c30a9e11b (patch)
tree7ccd5716d281bd0970d47a24e46e4ae0b3d98733 /perllib/FixMyStreet/App/Controller/Report.pm
parente828bcc3c2b2a92877242d83d8dadf6ebaabd62f (diff)
Treat update calling of extra_name same as reporting does it.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Report.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report.pm b/perllib/FixMyStreet/App/Controller/Report.pm
index cca625bd5..6f249b2fe 100644
--- a/perllib/FixMyStreet/App/Controller/Report.pm
+++ b/perllib/FixMyStreet/App/Controller/Report.pm
@@ -125,6 +125,8 @@ sub format_problem_for_display : Private {
$c->stash->{add_alert} = 1;
}
+ $c->stash->{extra_name_info} = $problem->council eq '2482' ? 1 : 0;
+
$c->forward('generate_map_tags');
return 1;