From b57182a8efd306ea0e8891785412990fbc256c36 Mon Sep 17 00:00:00 2001 From: CiaranG Date: Tue, 16 Sep 2008 13:27:06 -0400 Subject: Get correct configured language when all else fails darcs-hash:20080916172706-f6e2c-762079233fd311ac6f1995415beb36d60484c496.gz --- lib/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3-54-g00ecf