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