fixed the query, removed scopes, added paranthesis for clarity.

This commit is contained in:
Ralf Teusner
2018-05-16 17:06:04 +02:00
parent f7392b1c05
commit e9462409fd
3 changed files with 6 additions and 4 deletions

View File

@ -416,7 +416,7 @@ class ExercisesController < ApplicationController
return
end
if @is_experimental_course and @rfc_group == :hide_rfc
if @is_experimental_course and (@rfc_group == :hide_rfc)
redirect_to_lti_return_path
return
end