Skip to content

Commit

Permalink
small fix to check_groups
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Newton committed Jul 11, 2016
1 parent 8fc99af commit fb5977f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jcr/check_groups.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def self.check_groups( tree, mapping )
end

def self.check_value_for_group node, mapping
if node[:group_rule]
if node.is_a?( Hash ) && node[:group_rule]
disallowed_group_in_value?( node[:group_rule], mapping )
end
end
Expand Down

0 comments on commit fb5977f

Please sign in to comment.