Unset $course to avoid language problems

This commit is contained in:
moodler
2004-06-01 06:49:11 +00:00
parent 3705299bf4
commit b8933ec3c2
+2
View File
@@ -236,6 +236,8 @@
/// Print out all the courses
unset($course); // To avoid unwanted language effects later
$courses = get_courses_page($category->id, "c.sortorder ASC", "c.*", $totalcount, $page*$perpage, $perpage);
$numcourses = count($courses);