Skip to content
Snippets Groups Projects
Commit acddda64 authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

Merge pull request #1425 from pratik-joshi/CRM-13213

CRM-13213 : updated joomla cms code for fetching UF locale
parents 6ecc896b 4965d8e9
No related branches found
No related tags found
No related merge requests found
......@@ -564,7 +564,7 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
function getUFLocale() {
if (defined('_JEXEC')) {
$conf = JFactory::getConfig();
$locale = $conf->getValue('config.language');
$locale = $conf->get('language');
return str_replace('-', '_', $locale);
}
return NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment