Skip to content

Commit

Permalink
Fix a warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Jul 31, 2012
1 parent a6aad16 commit 7ccaa35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perllib/FixMyStreet/App/Controller/Report.pm
Expand Up @@ -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');

Expand Down

0 comments on commit 7ccaa35

Please sign in to comment.