summaryrefslogtreecommitdiffstats
path: root/lib/redmine/activity
diff options
context:
space:
mode:
Diffstat (limited to 'lib/redmine/activity')
-rw-r--r--lib/redmine/activity/fetcher.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/activity/fetcher.rb b/lib/redmine/activity/fetcher.rb
index 4264c2e5d..5c031f069 100644
--- a/lib/redmine/activity/fetcher.rb
+++ b/lib/redmine/activity/fetcher.rb
@@ -60,7 +60,7 @@ module Redmine
end
# Yields to filter the activity scope
- def scope_select(&block)
+ def scope_select(&)
@scope = @scope.select {|t| yield t}
end