diff options
-rw-r--r-- | app/views/request/new.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/request/new.html.erb b/app/views/request/new.html.erb index cbcf5a0a5..486a89d45 100644 --- a/app/views/request/new.html.erb +++ b/app/views/request/new.html.erb @@ -70,9 +70,9 @@ <%= foi_error_messages_for :info_request, :outgoing_message %> - <% if @info_request.public_body.override_request_email %> + <% if !AlaveteliConfiguration::override_all_public_body_request_emails.blank? %> <div class="warning"> - <%= _("<strong>Note:</strong> Because we're testing, requests are being sent to {{email}} rather than to the actual authority.", :email => @info_request.public_body.override_request_email) %> + <%= _("<strong>Note:</strong> Because we're testing, requests are being sent to {{email}} rather than to the actual authority.", :email => AlaveteliConfiguration::override_all_public_body_request_emails) %> </div> <% end %> |