Changes to calls to get_courses to not get all fields

This commit is contained in:
mjollnir_
2004-11-22 05:40:45 +00:00
parent f8731332d5
commit fdbadd57eb
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -170,7 +170,7 @@
$addgroup[2] = $user->group3;
$addgroup[3] = $user->group4;
$addgroup[4] = $user->group5;
$courses = get_courses("all");
$courses = get_courses("all",'c.sortorder','c.id,c.shortname,c.fullname,c.sortorder');
for ($i=0; $i<5; $i++) {
$courseid[$i]=0;
}