Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

No need to sort the courses when counting the number of courses using…

… a scale
  • Loading branch information...
commit 7e8c56795a01c7e9708b6e8206088bfd32511eae 1 parent 9e90313
mjollnir_ authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/moodlelib.php
View
2  lib/moodlelib.php
@@ -3076,7 +3076,7 @@ function site_scale_used($scaleid,&$courses) {
$return = 0;
if (!is_array($courses) || count($courses) == 0) {
- $courses = get_courses("all","c.sortorder ASC","c.id,c.shortname");
+ $courses = get_courses("all",false,"c.id,c.shortname");
}
if (!empty($scaleid)) {
Please sign in to comment.
Something went wrong with that request. Please try again.