Feature #8452 ยป issue.diff
issue.rb 2011-05-27 16:15:39.555226166 +0200 | ||
---|---|---|
104 | 104 |
self.attributes = issue.attributes.dup.except("id", "root_id", "parent_id", "lft", "rgt", "created_on", "updated_on") |
105 | 105 |
self.custom_field_values = issue.custom_field_values.inject({}) {|h,v| h[v.custom_field_id] = v.value; h} |
106 | 106 |
self.status = issue.status |
107 |
self.author = User.current |
|
107 | 108 |
self |
108 | 109 |
end |
109 | 110 |
|