Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix a warning.

  • Loading branch information...
commit 7ccaa354a8ad9df8db6846822c09c434edad3a1d 1 parent a6aad16
@dracos dracos authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  perllib/FixMyStreet/App/Controller/Report.pm
View
2  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');
Please sign in to comment.
Something went wrong with that request. Please try again.