summaryrefslogtreecommitdiffstats
path: root/vendor
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-10-10 15:04:08 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-10-10 15:04:08 +0000
commit531eb6555777b4fd698f0da317732b188a0df20b (patch)
treea8e9e6a5a2127937cefc47a990ed3957f408d814 /vendor
parent38dc4d1cf954c7d26acd10f505d1c0b3c9df41aa (diff)
downloadredmine-531eb6555777b4fd698f0da317732b188a0df20b.tar.gz
redmine-531eb6555777b4fd698f0da317732b188a0df20b.zip
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
Diffstat (limited to 'vendor')
-rw-r--r--vendor/plugins/awesome_nested_set/lib/awesome_nested_set.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/plugins/awesome_nested_set/lib/awesome_nested_set.rb b/vendor/plugins/awesome_nested_set/lib/awesome_nested_set.rb
index fb67341b6..6be3c5e42 100644
--- a/vendor/plugins/awesome_nested_set/lib/awesome_nested_set.rb
+++ b/vendor/plugins/awesome_nested_set/lib/awesome_nested_set.rb
@@ -166,7 +166,7 @@ module CollectiveIdea #:nodoc:
# Don't rebuild a valid tree.
return true if valid?
- scope = lambda{}
+ scope = lambda{|node|}
if acts_as_nested_set_options[:scope]
scope = lambda{|node|
scope_column_names.inject(""){|str, column_name|