From ec3c9362342917cb6562974805dad20782db8093 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 22 Sep 2008 13:26:31 -0400 Subject: [PATCH] use common-config instead of $config in common_language darcs-hash:20080922172631-84dde-357c532ac1fb1e2fec54680eb9d294a2ede23ab0.gz --- lib/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util.php b/lib/util.php index 349cff7222..4576c9ed13 100644 --- a/lib/util.php +++ b/lib/util.php @@ -484,7 +484,7 @@ function common_language() { return $language; } } else { - return $config['site']['language']; + return common_config('site', 'language'); } } # salted, hashed passwords are stored in the DB