From: tjhunt Date: Fri, 21 Dec 2007 15:37:47 +0000 (+0000) Subject: Sort the add activites dropdown using the locale. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=91374f3e5b396d64ef89b6312f639cef91e390f6;p=moodle.git Sort the add activites dropdown using the locale. --- diff --git a/course/lib.php b/course/lib.php index 9c0af6626d..cadd68e961 100644 --- a/course/lib.php +++ b/course/lib.php @@ -1234,7 +1234,7 @@ function get_all_mods($courseid, &$mods, &$modnames, &$modnamesplural, &$modname $modnamesplural[$mod->name] = get_string("modulenameplural", "$mod->name"); } } - asort($modnames); + asort($modnames, SORT_LOCALE_STRING); } else { error("No modules are installed!"); }