Skip to content

Commit

Permalink
Fix missed argument change for compliance history tree
Browse files Browse the repository at this point in the history
  • Loading branch information
skateman committed Mar 26, 2019
1 parent c11333c commit 9f1b233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/vm_common.rb
Expand Up @@ -229,7 +229,7 @@ def show(id = nil)
end
elsif @display == "compliance_history"
count = params[:count] ? params[:count].to_i : 10
@ch_tree = TreeBuilderComplianceHistory.new(:ch_tree, :ch, @sb, true, @record)
@ch_tree = TreeBuilderComplianceHistory.new(:ch_tree, :ch, @sb, true, :root => @record)
session[:ch_tree] = @ch_tree.tree_nodes
session[:tree_name] = "ch_tree"
session[:squash_open] = (count == 1)
Expand Down

0 comments on commit 9f1b233

Please sign in to comment.