aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@fury.ukcod.org.uk>2011-03-02 18:54:32 +0000
committerMatthew Somerville <matthew@fury.ukcod.org.uk>2011-03-02 18:54:32 +0000
commit43a0d8f0d18f03c39fb6fe2a0c9649a57ccbd265 (patch)
tree836afbaf75a80c6333712bc27cd0e71bb094908b
parent019a47d5a33f1575bafad2612427cd4d7025e653 (diff)
Add category to RSS feed.
-rw-r--r--perllib/FixMyStreet/Alert.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Alert.pm b/perllib/FixMyStreet/Alert.pm
index 29932a0a5..cfe9c1781 100644
--- a/perllib/FixMyStreet/Alert.pm
+++ b/perllib/FixMyStreet/Alert.pm
@@ -298,6 +298,7 @@ sub generate_rss ($$$;$$$$) {
description => ent(ent($desc)) # Yes, double-encoded, really.
);
$item{pubDate} = $pubDate if $pubDate;
+ $item{category} = $row->{category} if $row->{category};
my $display_photos = Cobrand::allow_photo_display($cobrand);
if ($display_photos && $row->{photo}) {