From 8c9643b3c40a305232c598e87ef3fc0092cb37b8 Mon Sep 17 00:00:00 2001 From: Mathieu Lutfy Date: Sun, 13 Sep 2020 10:38:46 -0400 Subject: [PATCH] dev/translation#51 Fix inheritLocale regression --- CRM/Core/BAO/ConfigSetting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/BAO/ConfigSetting.php b/CRM/Core/BAO/ConfigSetting.php index 45e0378974..54ad2e1a74 100644 --- a/CRM/Core/BAO/ConfigSetting.php +++ b/CRM/Core/BAO/ConfigSetting.php @@ -178,7 +178,7 @@ class CRM_Core_BAO_ConfigSetting { * If the language is specified via "lcMessages" we skip this, since the * intention of the URL query var is to override all other sources. */ - if ($settings->get('inheritLocale') && empty($chosenLocale)) { + if ($settings->get('inheritLocale')) { /* * FIXME: On multi-language installs, CRM_Utils_System::getUFLocale() in -- 2.25.1