Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed locale problem (being overwritten by current locale)
  • Loading branch information
moodler committed Aug 25, 2003
1 parent e02ff14 commit 0ff42b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions admin/config.php
Expand Up @@ -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 = "";
Expand Down

0 comments on commit 0ff42b0

Please sign in to comment.