Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If no quizzes exist in the lesson, return early #3058

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

jonathanbossenger
Copy link
Collaborator

Closes #3057

@jonathanbossenger
Copy link
Collaborator Author

@renintw, if you have some time to review this while you're working on #3052, it would be great to merge the two at the same time.

@jonathanbossenger jonathanbossenger added the [Component] Learn Theme Website development issues related to the Learn theme. label Dec 10, 2024
@renintw
Copy link
Contributor

renintw commented Dec 11, 2024

LGMT. Thanks for the fix!

Just to note, this issue occurs for users who have not enrolled in the lesson.

Before After
image image

@renintw renintw added this to the Learning Pathways Post-launch milestone Dec 11, 2024
@renintw renintw merged commit 813b159 into trunk Dec 11, 2024
1 check passed
@renintw renintw deleted the 3057-fix-fatal-error-on-lessons-without-quizzes branch December 11, 2024 16:36
@renintw
Copy link
Contributor

renintw commented Dec 11, 2024

Deployed ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Component] Learn Theme Website development issues related to the Learn theme.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Fatal error when viewing a lesson without a quiz
2 participants