summaryrefslogtreecommitdiffstats
path: root/app/models/issue.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-07-23 19:24:02 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-07-23 19:24:02 +0000
commit2ce3191639dcbf3929ce2208a5edba96ba812a2c (patch)
tree76df7c08646598b525f825c114f6dd77003543f8 /app/models/issue.rb
parented01ae121daf44d1df43332b01f3d5f9d627a3d5 (diff)
downloadredmine-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.rb1
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