- Login as admin.
- Turn debugging ON.
- Create a course and enable completion tracking.
- Under Course administration go to Badges ► Manage badges
- Add a new badge.
- On the badge's page, click on the Criteria.
- Under Add badge criteria, select Course completion
- Enter a value for the Minimum grade required, then click Save.
- Open another window and delete the course.
- Refresh the page with the badge settings.
- The following message is displayed:
Users must complete the course Warning: This course is no longer available.
It should read either warning or proper completion requirement.
- Discovered while testing
-
MDL-55749 undefined variable $OUTPUT in badges/criteria/award_criteria_course.php
- Closed