Project

General

Profile

Defect #19197 ยป fix_old_assignee_group_notification.diff

Federico Di Dio, 2015-02-26 14:42

View differences:

app/models/issue.rb (working copy)
824 824
    # assigned_to_id_was is reset before after_save callbacks
825 825
    user_id = @previous_assigned_to_id || assigned_to_id_was
826 826
    if user_id && user_id != assigned_to_id
827
      @assigned_to_was ||= User.find_by_id(user_id)
827
      @assigned_to_was ||= User.find_by_id(user_id) || Group.find_by_id(user_id)
828 828
    end
829 829
  end
830 830

  
    (1-1/1)