Skip to content
Browse files

Fix a warning.

  • Loading branch information...
1 parent a6aad16 commit 7ccaa354a8ad9df8db6846822c09c434edad3a1d @dracos dracos committed Jul 31, 2012
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');

0 comments on commit 7ccaa35

Please sign in to comment.
Something went wrong with that request. Please try again.