Fixes a wrong number of arguments error with ruby1.9.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2911 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
38dc4d1cf9
commit
531eb65557
|
@ -166,7 +166,7 @@ module CollectiveIdea #:nodoc:
|
||||||
# Don't rebuild a valid tree.
|
# Don't rebuild a valid tree.
|
||||||
return true if valid?
|
return true if valid?
|
||||||
|
|
||||||
scope = lambda{}
|
scope = lambda{|node|}
|
||||||
if acts_as_nested_set_options[:scope]
|
if acts_as_nested_set_options[:scope]
|
||||||
scope = lambda{|node|
|
scope = lambda{|node|
|
||||||
scope_column_names.inject(""){|str, column_name|
|
scope_column_names.inject(""){|str, column_name|
|
||||||
|
|
Loading…
Reference in New Issue