From: Evan Prodromou Date: Mon, 22 Sep 2008 17:26:31 +0000 (-0400) Subject: use common-config instead of $config in common_language X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ec3c9362342917cb6562974805dad20782db8093;p=quix0rs-gnu-social.git use common-config instead of $config in common_language darcs-hash:20080922172631-84dde-357c532ac1fb1e2fec54680eb9d294a2ede23ab0.gz --- 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