aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-01-19 19:34:26 +0000
committerMatthew Somerville <matthew@mysociety.org>2011-01-19 19:34:26 +0000
commit72ce448c47240921cdef5f09a81df0aa540d3015 (patch)
treec681133ce32d6eaab373b31714c5231dbd68e301
parente33136324f215806791a9cd509df1de1fca59f08 (diff)
Fix non-setting of state_qs, causing errors.
-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';