diff options
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Around.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Around.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Around.pm b/perllib/FixMyStreet/App/Controller/Around.pm index 9d86975c6..dbba93df2 100644 --- a/perllib/FixMyStreet/App/Controller/Around.pm +++ b/perllib/FixMyStreet/App/Controller/Around.pm @@ -167,7 +167,7 @@ sub display_location : Private { my $states = $c->cobrand->on_map_default_states; $c->stash->{filter_status} = $c->cobrand->on_map_default_status; - my $status = $c->req->param('status'); + my $status = $c->req->param('status') || ''; if ( !defined $states || $status eq 'all' ) { $states = FixMyStreet::DB::Result::Problem->visible_states(); $c->stash->{filter_status} = 'all'; |