[issue #565] Fixed bug in mailer.
This commit is contained in:
parent
c37866d5e6
commit
0d9a32a1c0
|
@ -24,7 +24,7 @@ class FeedbackMailer < ActionMailer::Base
|
|||
res << subject
|
||||
res << affix(FBM_CONFIG['subject_postfixes'])
|
||||
# WOODOO magic. Change all space sequences to one space than remove trailing spaces.
|
||||
res.gsub(/\s+/, ' ').gsub(/^\s|\s$/, '')
|
||||
res = res.gsub(/\s+/, ' ').strip!
|
||||
res
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue