Always get the bug commenter name from the user if there is one

This commit is contained in:
Tom Hughes 2011-05-07 17:47:05 +01:00
parent a2495c843e
commit 63e9c4771a
3 changed files with 11 additions and 15 deletions

View file

@ -35,13 +35,7 @@ xml.rss("version" => "2.0",
description_text += comment.map_bug.flatten_comment("<br>", comment.date_created)
xml.description description_text
if comment.user.nil?
xml.author comment.commenter_name
else
xml.author comment.user.display_name
end
xml.author comment.commenter_name
xml.pubDate comment.date_created.to_s(:rfc822)
xml.geo :lat, comment.map_bug.lat
xml.geo :long, comment.map_bug.lon