]> source.dussan.org Git - redmine.git/commitdiff
Fixes error on subtask XML format (#5336).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 17 Apr 2010 11:49:56 +0000 (11:49 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 17 Apr 2010 11:49:56 +0000 (11:49 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3677 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/show.xml.builder

index 1237b8cdeddcf81982379c2e25a834fb83234983..4b13739558cd9f7e6ba166e9a23b9a086037ff4b 100644 (file)
@@ -9,7 +9,7 @@ xml.issue do
        xml.assigned_to(:id => @issue.assigned_to_id, :name => @issue.assigned_to.name) unless @issue.assigned_to.nil?
   xml.category(:id => @issue.category_id, :name => @issue.category.name) unless @issue.category.nil?
   xml.fixed_version(:id => @issue.fixed_version_id, :name => @issue.fixed_version.name) unless @issue.fixed_version.nil?
-  xml.parent(:id => issue.parent_id) unless @issue.parent.nil?
+  xml.parent(:id => @issue.parent_id) unless @issue.parent.nil?
   
   xml.subject          @issue.subject
   xml.description @issue.description