diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-06-12 09:55:16 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-06-12 09:55:16 +0100 |
commit | f560987ab0d3ea3471837a2b30d30c7101dc5616 (patch) | |
tree | c27a235cbafc540e887f3d98feadf8c8fe4a0026 /app/controllers/request_controller.rb | |
parent | 4a4367ba4ec43aea7a0eb19c4a06bb004abd01eb (diff) |
Make emails requesting admin attention appear to come from the user who requested the attention, not the user who made the original request.
Diffstat (limited to 'app/controllers/request_controller.rb')
-rw-r--r-- | app/controllers/request_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb index bd2bfc974..f87efbcb0 100644 --- a/app/controllers/request_controller.rb +++ b/app/controllers/request_controller.rb @@ -663,7 +663,7 @@ class RequestController < ApplicationController ) if !info_request.attention_requested - info_request.set_described_state('attention_requested') + info_request.set_described_state('attention_requested', @user) info_request.attention_requested = true # tells us if attention has ever been requested info_request.save! flash[:notice] = _("This request has been reported for administrator attention") |