diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-07-23 19:24:02 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-07-23 19:24:02 +0000 |
commit | 2ce3191639dcbf3929ce2208a5edba96ba812a2c (patch) | |
tree | 76df7c08646598b525f825c114f6dd77003543f8 /app/models/issue.rb | |
parent | ed01ae121daf44d1df43332b01f3d5f9d627a3d5 (diff) | |
download | redmine-2ce3191639dcbf3929ce2208a5edba96ba812a2c.tar.gz redmine-2ce3191639dcbf3929ce2208a5edba96ba812a2c.zip |
Assignee is removed on issue update if assignee account is locked (#8884).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6308 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r-- | app/models/issue.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb index d7a3e6ecb..b4aac4a36 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -451,6 +451,7 @@ class Issue < ActiveRecord::Base def assignable_users users = project.assignable_users users << author if author + users << assigned_to if assigned_to users.uniq.sort end |