aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/request_controller.rb
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-03-04 09:38:07 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-03-04 09:38:07 +1100
commit28e65f615c24b96225d24f3f1e0c03f229f8fe4e (patch)
tree25386c570ea3ff7a98ef0a3b322889c1e51ee75a /app/controllers/request_controller.rb
parentd16f5b29e106d6f5f8191b7f881386f281f98691 (diff)
Fix bug when user not owner of request changing state to requires_admin email should come from user making the change
Diffstat (limited to 'app/controllers/request_controller.rb')
-rw-r--r--app/controllers/request_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb
index 36ec7ee13..2cabb3cf0 100644
--- a/app/controllers/request_controller.rb
+++ b/app/controllers/request_controller.rb
@@ -408,7 +408,7 @@ class RequestController < ApplicationController
# Make the state change
old_described_state = info_request.described_state
- info_request.set_described_state(params[:incoming_message][:described_state])
+ info_request.set_described_state(params[:incoming_message][:described_state], authenticated_user)
# If you're not the *actual* requester. e.g. you are playing the
# classification game, or you're doing this just because you are an