diff options
author | CiaranG <ciaran@ciarang.com> | 2008-09-16 13:27:06 -0400 |
---|---|---|
committer | CiaranG <ciaran@ciarang.com> | 2008-09-16 13:27:06 -0400 |
commit | b57182a8efd306ea0e8891785412990fbc256c36 (patch) | |
tree | b8717e54547466050fd7216266a9b265933f971f | |
parent | 1c3afaea89e04e1e2b0c6c94baaf313370389245 (diff) |
Get correct configured language when all else fails
darcs-hash:20080916172706-f6e2c-762079233fd311ac6f1995415beb36d60484c496.gz
-rw-r--r-- | lib/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php index b67782af3..0b71cfe4f 100644 --- a/lib/util.php +++ b/lib/util.php @@ -489,7 +489,7 @@ function common_language() { return $language; } } else { - return common_config('site', 'language'); + return $config['site']['language']; } } # salted, hashed passwords are stored in the DB |