Permalink
Browse files

fix for change to make plugin work with non-edge versions of redmine

  • Loading branch information...
helle committed Apr 19, 2009
1 parent 8c89caf commit e643d61ec25ece0b18760f9bcca292e86b49dfbe
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/weekly_time_sheet_controller.rb
@@ -9,7 +9,7 @@ def index
end
def project_tasks
- Issue.visible_by do
+ Issue.visible_by(User.current) do
ret = Issue.open.find(:all, :conditions => ["#{IssueStatus.table_name}.is_closed = ?", false], :include => :status).collect do |issue|
"<option value=\"#{issue.id}\">#{issue.to_s}</option>"
end.join("\n")

0 comments on commit e643d61

Please sign in to comment.