Skip to content
Snippets Groups Projects
Commit 4965d8e9 authored by pratik.joshi's avatar pratik.joshi
Browse files

CRM-13213 : updated joomla cms code for fetching UF locale

parent 6ecc896b
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.
Finish editing this message first!
Please register or to comment