aboutsummaryrefslogtreecommitdiffstats
path: root/web/rss.cgi
diff options
context:
space:
mode:
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 0ae8b5dc0..a716d93e9 100755
--- a/web/rss.cgi
+++ b/web/rss.cgi
@@ -74,11 +74,12 @@ sub rss_local_problems {
$d_str = "/$d" if $d;
my $state = $q->param('state') || 'all';
$state = 'all' unless $state =~ /^(all|open|fixed)$/;
- $state = 'confirmed' if $state eq 'open';
# 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';
+ $state = 'confirmed' if $state eq 'open';
+
my $cobrand = Page::get_cobrand($q);
my $base = Cobrand::base_url($cobrand);
if ($lat) { # In the UK, it'll never be 0 :)