Skip to content

Commit

Permalink
Merge pull request #489 from ucsd-ets/hasnain/EDE-1811
Browse files Browse the repository at this point in the history
Fix 500 issue on course outline page
  • Loading branch information
hasnain-saeed authored Oct 5, 2021
2 parents 3aa59a8 + 12e84da commit 5231bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lms/djangoapps/courseware/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def get_state_by_params(cls, course_id, module_state_keys, student_id=None):

@classmethod
def save_state(cls, student, course_id, module_state_key, defaults):
if not student.is_authenticated():
if not student.is_authenticated:
return
else:
cls.objects.update_or_create(
Expand Down

0 comments on commit 5231bd2

Please sign in to comment.