Correcting error with undeclared local (#25422)
Previous rollback introduced this error while resolving merge conflicts. Line declaring the local variable was accidentally omitted. ENT-3494
This commit is contained in:
@@ -552,6 +552,7 @@ def consent_needed_for_course(request, user, course_id, enrollment_exists=False)
|
||||
)
|
||||
return False
|
||||
|
||||
consent_needed = False
|
||||
enterprise_learner_details = get_enterprise_learner_data_from_db(user)
|
||||
if not enterprise_learner_details:
|
||||
LOGGER.info(
|
||||
|
||||
Reference in New Issue
Block a user