diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-02-07 08:06:38 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-02-07 08:06:38 +0000 |
commit | d6b718b43c4cb2d257eccca0f627b9f41099986c (patch) | |
tree | 3156e968a4a106b3bf3b36ee551551d5338f643b /app/models/issue.rb | |
parent | b8ffc995c187fff2f4434d17f6141190c048b0a5 (diff) | |
download | redmine-d6b718b43c4cb2d257eccca0f627b9f41099986c.tar.gz redmine-d6b718b43c4cb2d257eccca0f627b9f41099986c.zip |
Merged r12844 (#16038).
git-svn-id: http://svn.redmine.org/redmine/branches/2.4-stable@12852 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r-- | app/models/issue.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb index 582caaa60..fa4545180 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -1089,7 +1089,7 @@ class Issue < ActiveRecord::Base if user.logged? s << ' created-by-me' if author_id == user.id s << ' assigned-to-me' if assigned_to_id == user.id - s << ' assigned-to-my-group' if user.groups.any? {|g| g.id = assigned_to_id} + s << ' assigned-to-my-group' if user.groups.any? {|g| g.id == assigned_to_id} end s end |