diff options
author | Go MAEDA <maeda@farend.jp> | 2019-06-10 00:54:28 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-06-10 00:54:28 +0000 |
commit | 7bb8ab5e24aee7f32d762c9adf4318c1a902d8e8 (patch) | |
tree | c471effa59960b3d282c91f3bd4faf0fa7ff9428 /app | |
parent | 37b7578f0f5601ae7ef0ded29b12422ad00e9152 (diff) | |
download | redmine-7bb8ab5e24aee7f32d762c9adf4318c1a902d8e8.tar.gz redmine-7bb8ab5e24aee7f32d762c9adf4318c1a902d8e8.zip |
Fix "Undefined local variable sender_email" error in MailHandler#receive_message_reply when receiving a reply to a locked topic (#31503).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18239 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rwxr-xr-x | app/models/mail_handler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/mail_handler.rb b/app/models/mail_handler.rb index 44aed826f..2aaa8bbf0 100755 --- a/app/models/mail_handler.rb +++ b/app/models/mail_handler.rb @@ -274,7 +274,7 @@ class MailHandler < ActionMailer::Base add_attachments(reply) reply else - logger&.info "MailHandler: ignoring reply from [#{sender_email}] to a locked topic" + logger&.info "MailHandler: ignoring reply from [#{email.from.first}] to a locked topic" end end end |