projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #10796 from tschuettler/CRM-20995
[civicrm-core.git]
/
CRM
/
Core
/
Smarty.php
diff --git
a/CRM/Core/Smarty.php
b/CRM/Core/Smarty.php
index f3d34eff1041700f43e0988d007554c52dbcaaaa..258f1abb472d44c02766a4a97b6ce7cfe2f652f1 100644
(file)
--- a/
CRM/Core/Smarty.php
+++ b/
CRM/Core/Smarty.php
@@
-317,6
+317,11
@@
class CRM_Core_Smarty extends Smarty {
return $this;
}
+ /**
+ * Get the locale for translation.
+ *
+ * @return string
+ */
private function getLocale() {
$tsLocale = CRM_Core_I18n::getLocale();
if (!empty($tsLocale)) {