diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-01-19 19:34:26 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-01-19 19:34:26 +0000 |
commit | 72ce448c47240921cdef5f09a81df0aa540d3015 (patch) | |
tree | c681133ce32d6eaab373b31714c5231dbd68e301 | |
parent | e33136324f215806791a9cd509df1de1fca59f08 (diff) |
Fix non-setting of state_qs, causing errors.
-rwxr-xr-x | web/rss.cgi | 3 |
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'; |