Get correct configured language when all else fails

darcs-hash:20080916172706-f6e2c-762079233fd311ac6f1995415beb36d60484c496.gz
This commit is contained in:
CiaranG 2008-09-16 13:27:06 -04:00
parent 1c3afaea89
commit b57182a8ef

View File

@ -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