summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-04-22 12:50:26 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-04-22 12:50:26 +0000
commit2f1d8630f153a49802e31a48739ba884944719d8 (patch)
tree5f4087acec63dab07990bfc52daa08445f18f8b3
parentcf59496957f57749fb41d5dca3b28a79445f8953 (diff)
downloadredmine-2f1d8630f153a49802e31a48739ba884944719d8.tar.gz
redmine-2f1d8630f153a49802e31a48739ba884944719d8.zip
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
-rw-r--r--app/views/feeds/history_atom.rxml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/feeds/history_atom.rxml b/app/views/feeds/history_atom.rxml
index 9d82ef606..8c01fe4ed 100644
--- a/app/views/feeds/history_atom.rxml
+++ b/app/views/feeds/history_atom.rxml
@@ -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>"