Another little hack to complete the course-level forcelanguage

This commit is contained in:
moodler 2004-02-10 08:10:04 +00:00
parent 875cb9fa18
commit e11dc9b682

View File

@ -1566,6 +1566,11 @@ function get_string($identifier, $module="", $a=NULL) {
global $CFG;
global $course; /// Not a nice hack, but quick
if (!empty($course->lang)) {
$CFG->courselang = $course->lang;
}
$lang = current_language();
if ($module == "") {