aboutsummaryrefslogtreecommitdiffstats
path: root/web/rss.cgi
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-01-22 17:47:52 +0000
committerMatthew Somerville <matthew@mysociety.org>2011-01-22 17:47:52 +0000
commit71c4b7a598c6b0b441eef63b1e1e016bd45e9991 (patch)
treeb6d3b99fb0a1df702ce908bee7447a4345483565 /web/rss.cgi
parent5cb1d987e8a7abd25c2a256ad167fcde47b0b2ed (diff)
parentab6c078efbbb3fd01da903d0f6b076186371a1f9 (diff)
Merge branch 'master' into reportemptyhomes
Diffstat (limited to 'web/rss.cgi')
-rwxr-xr-xweb/rss.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/rss.cgi b/web/rss.cgi
index a716d93e9..8885af249 100755
--- a/web/rss.cgi
+++ b/web/rss.cgi
@@ -76,7 +76,8 @@ sub rss_local_problems {
$state = 'all' unless $state =~ /^(all|open|fixed)$/;
# state is getting lost in the redirects. Add it on to the end as a query
- my $state_qs = "?state=$state" unless $state eq 'all';
+ my $state_qs = '';
+ $state_qs = "?state=$state" unless $state eq 'all';
$state = 'confirmed' if $state eq 'open';