From: CiaranG Date: Tue, 16 Sep 2008 17:27:06 +0000 (-0400) Subject: Get correct configured language when all else fails X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b57182a8efd306ea0e8891785412990fbc256c36;p=quix0rs-gnu-social.git Get correct configured language when all else fails darcs-hash:20080916172706-f6e2c-762079233fd311ac6f1995415beb36d60484c496.gz --- diff --git a/lib/util.php b/lib/util.php index b67782af34..0b71cfe4f5 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