forked from Gitlink/forgeplus
fix
This commit is contained in:
parent
5701c818ed
commit
c956667ce0
|
@ -38,7 +38,7 @@ class MessageTemplate::IssueExpire < MessageTemplate
|
|||
|
||||
def self.get_email_message_content(receiver, issue)
|
||||
if receiver.user_template_message_setting.present?
|
||||
send_setting = receiver.user_template_message_setting.init_email_body["CreateOrAssign::IssueExpire"]
|
||||
send_setting = receiver.user_template_message_setting.email_body["CreateOrAssign::IssueExpire"]
|
||||
send_setting = send_setting.nil? ? UserTemplateMessageSetting.init_email_body["CreateOrAssign::IssueExpire"] : send_setting
|
||||
return '', '', '' unless send_setting
|
||||
project = issue&.project
|
||||
|
|
Loading…
Reference in New Issue