mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
Make sure from is present
This commit is contained in:
parent
222db71dd7
commit
420d3d651b
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ class RejectionMailer < ActionMailer::Base
|
|||
include Email::BuildEmailHelper
|
||||
|
||||
def send_rejection(from, body, template, error)
|
||||
build_email(from, template: template, error: error, source: body)
|
||||
build_email(from, from: from, template: template, error: error, source: body)
|
||||
end
|
||||
|
||||
def send_trust_level(from, template)
|
||||
|
|
Loading…
Reference in a new issue