Browse Source

fix stupid mistake

pull/1592/head
Hongcai Deng 9 years ago
parent
commit
0e739d1221
  1. 3
      modules/mailer/mail.go

3
modules/mailer/mail.go

@ -33,8 +33,7 @@ const (
func NewMailMessageFrom(To []string, from, subject, body string) Message {
if setting.MailService.FixedNotifyFrom {
return NewHtmlMessage(To, setting.MailService.From, subject, body)
}
else {
} else {
return NewHtmlMessage(To, from, subject, body)
}
}

Loading…
Cancel
Save