From 91374f3e5b396d64ef89b6312f639cef91e390f6 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Fri, 21 Dec 2007 15:37:47 +0000 Subject: [PATCH] Sort the add activites dropdown using the locale. --- course/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!"); } -- 2.39.5