projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65b98aa
)
CRM_Core_I18n::setLocale should also change the tsLocale global variable
author
Mathieu Lutfy
<mathieu@bidon.ca>
Thu, 1 Nov 2018 20:12:11 +0000
(16:12 -0400)
committer
Mathieu Lutfy
<mathieu@bidon.ca>
Thu, 1 Nov 2018 20:12:11 +0000
(16:12 -0400)
CRM/Core/I18n.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/I18n.php
b/CRM/Core/I18n.php
index 40107e9824c082af67b837882c90f4a6dcd7f6fd..6dfbe23b566c30388fbd1ab89c46543b298c403c 100644
(file)
--- a/
CRM/Core/I18n.php
+++ b/
CRM/Core/I18n.php
@@
-649,6
+649,9
@@
class CRM_Core_I18n {
global $dbLocale;
$dbLocale = "_{$locale}";
+ // For self::getLocale()
+ global $tsLocale;
+ $tsLocale = $locale;
}
/**