diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-07-31 19:23:12 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-07-31 19:23:12 +0100 |
commit | 7ccaa354a8ad9df8db6846822c09c434edad3a1d (patch) | |
tree | 3a3e64caf9f239e8009baf9f7581083a6aa35d0d | |
parent | a6aad16ed88517f42db3fd3223e2164cb2209a96 (diff) |
Fix a warning.
-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 24abc5ba4..d36ba32fe 100644 --- a/perllib/FixMyStreet/App/Controller/Report.pm +++ b/perllib/FixMyStreet/App/Controller/Report.pm @@ -123,7 +123,7 @@ sub format_problem_for_display : Private { $c->stash->{add_alert} = 1; } - $c->stash->{extra_name_info} = $problem->council eq '2482' ? 1 : 0; + $c->stash->{extra_name_info} = $problem->council && $problem->council eq '2482' ? 1 : 0; $c->forward('generate_map_tags'); |