微信issue指向BUG修改,issue@功能修改
This commit is contained in:
parent
e37a2fee1e
commit
b9e9892257
|
@ -592,7 +592,7 @@ class IssuesController < ApplicationController
|
|||
|
||||
senduser = User.find(params[:issue][:assigned_to_id])
|
||||
|
||||
if senduser.id != User.current.id && @issue.assigned_to_id != params[:issue][:assigned_to_id]
|
||||
if senduser.id != User.current.id && @issue.assigned_to_id != params[:issue][:assigned_to_id].to_i
|
||||
issue_id = @issue.id
|
||||
issue_title = params[:issue][:subject]
|
||||
priority_id = params[:issue][:priority_id]
|
||||
|
|
|
@ -47,6 +47,8 @@ class AtMessage < ActiveRecord::Base
|
|||
detail_content = strip_html at_message.notes,30
|
||||
elsif defined? at_message.content
|
||||
detail_content = strip_html at_message.content,30
|
||||
elsif defined? at_message.description
|
||||
detail_content = strip_html at_message.description,30
|
||||
end
|
||||
|
||||
user = self.user
|
||||
|
|
Loading…
Reference in New Issue