Commit 2f1d8630 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Fixed: error on history atom feed when there's no notes on an issue change

git-svn-id: http://redmine.rubyforge.org/svn/trunk@466 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent cf594969
......@@ -16,7 +16,7 @@ xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
xml.author { xml.name journal.user.name }
xml.summary journal.notes
xml.content "type" => "html" do
xml.text! journal.notes
xml.text! journal.notes if journal.notes
xml.text! "<ul>"
journal.details.each do |detail|
xml.text! "<li>" + show_detail(detail, false) + "</li>"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment