aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Rss.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Rss.pm')
-rwxr-xr-xperllib/FixMyStreet/App/Controller/Rss.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Rss.pm b/perllib/FixMyStreet/App/Controller/Rss.pm
index cbeddce85..7aafc99ff 100755
--- a/perllib/FixMyStreet/App/Controller/Rss.pm
+++ b/perllib/FixMyStreet/App/Controller/Rss.pm
@@ -350,7 +350,7 @@ sub get_query_parameters : Private {
$d = '' unless $d && $d =~ /^\d+$/;
$c->stash->{distance} = $d;
- my $state = $c->req->param('state') || 'all';
+ my $state = $c->get_param('state') || 'all';
$state = 'all' unless $state =~ /^(all|open|fixed)$/;
$c->stash->{state_qs} = "?state=$state" unless $state eq 'all';