summaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-12-19 08:01:58 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-12-19 08:01:58 +0000
commit60c75d850880ed086214784efd644def8d17798a (patch)
tree6cbc2ca95b6c3622be3beca9767ef136d8ef476e /app/models
parenta1d76f93656a21448926180c0d43bbe849fbd1d9 (diff)
downloadredmine-60c75d850880ed086214784efd644def8d17798a.tar.gz
redmine-60c75d850880ed086214784efd644def8d17798a.zip
Merged r14970 to r14972 (#21477).
git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@14980 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models')
-rw-r--r--app/models/issue.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index 707c4581c..ba7a9b159 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -810,7 +810,7 @@ class Issue < ActiveRecord::Base
# Users the issue can be assigned to
def assignable_users
users = project.assignable_users.to_a
- users << author if author
+ users << author if author && author.active?
users << assigned_to if assigned_to
users.uniq.sort
end