Commit f27a9770bc96d9f951514da2a9ca04b788ae3c2c
1 parent
70a0ff47
Exists in
master
and in
7 other branches
Fix article parent attribution
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
lib/proposals_discussion_plugin/proposal_task.rb
@@ -131,6 +131,7 @@ class ProposalsDiscussionPlugin::ProposalTask < Task | @@ -131,6 +131,7 @@ class ProposalsDiscussionPlugin::ProposalTask < Task | ||
131 | 131 | ||
132 | def article_parent=(parent) | 132 | def article_parent=(parent) |
133 | @article_parent = parent | 133 | @article_parent = parent |
134 | + article_parent_id = parent.id unless parent.nil? | ||
134 | end | 135 | end |
135 | 136 | ||
136 | def article_parent | 137 | def article_parent |