Use the locale to sort the list of activites everywhere. This matches a change a made in one place before christmas. If you don't do this, the PHP sorts by ASCII order, so mixed case names, or special characters, get sorted wrongly. Merged from MOODLE_19_STABLE.

This commit is contained in:
tjhunt
2008-01-07 16:46:35 +00:00
parent 1c8ec30d95
commit dba21d4a19
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -182,7 +182,7 @@
}
$modulebyname[$strmodulename] = $module;
}
ksort($modulebyname);
ksort($modulebyname, SORT_LOCALE_STRING);
/// Print the table of all modules
// construct the flexible table ready to display