Course has no category if you delete the category it belongs to
on a 1.9, I've created a course.
When you create a course, it must have a course_category.
I put my course in the course_category LANG
If I delete the category LANG, my course has no category, the field is empty in the database.
What to do ?
- allowed course to have no course_category, when you create it ?
- create a "No category" course_category by default, that admin cannot modify nor remove ?
Updated by Julio Montoya almost 8 years ago
- Status changed from New to Needs more info
- % Done changed from 0 to 50
I added the feature with:
but I'm not showing the courses with empty categories in the "Course catalog", just because it will took ages just to do that (is not difficult but the code makes me feel depressed - main/auth/courses.php )