Fixed locale problem (being overwritten by current locale)

This commit is contained in:
moodler 2003-08-25 17:30:08 +00:00
parent e02ff1427e
commit 0ff42b0fc9

View file

@ -56,6 +56,9 @@
if (empty($config)) {
$config = $CFG;
if (!$config->locale = get_field("config", "value", "name", "locale")) {
$config->locale = $CFG->lang;
}
}
if (empty($focus)) {
$focus = "";