summaryrefslogtreecommitdiffstats
path: root/app/helpers/timelog_helper.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-11-21 12:00:49 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-11-21 12:00:49 +0000
commitd8c5549168f3fe7e9f2b1633e70928178665773a (patch)
tree952fc56cbd0f0c5f6b3b7e81c4a50e905f859597 /app/helpers/timelog_helper.rb
parent4bdfef4dc4e09f9ccc4cb3cd3bfbc00d553017b5 (diff)
downloadredmine-d8c5549168f3fe7e9f2b1633e70928178665773a.tar.gz
redmine-d8c5549168f3fe7e9f2b1633e70928178665773a.zip
Changes misleading scopes on Enumeration.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3083 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/timelog_helper.rb')
-rw-r--r--app/helpers/timelog_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/timelog_helper.rb b/app/helpers/timelog_helper.rb
index e1136fc4f..cd2bcf685 100644
--- a/app/helpers/timelog_helper.rb
+++ b/app/helpers/timelog_helper.rb
@@ -38,7 +38,7 @@ module TimelogHelper
def activity_collection_for_select_options(time_entry=nil, project=nil)
project ||= @project
if project.nil?
- activities = TimeEntryActivity.active
+ activities = TimeEntryActivity.shared.active
else
activities = project.activities
end