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:
d9718ed
)
Upgrader - Supply $upgradeRev for Smarty TPLs
author
Tim Otten
<totten@civicrm.org>
Thu, 3 Aug 2023 07:38:39 +0000
(
00:38
-0700)
committer
Tim Otten
<totten@civicrm.org>
Thu, 3 Aug 2023 08:09:42 +0000
(
01:09
-0700)
CRM/Upgrade/Form.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Upgrade/Form.php
b/CRM/Upgrade/Form.php
index 902e5afbf55a4e10dc2670aea6d4485370ce9261..87ad4c5cc31e055d1ac01f364352ad09f09eeea0 100644
(file)
--- a/
CRM/Upgrade/Form.php
+++ b/
CRM/Upgrade/Form.php
@@
-289,8
+289,11
@@
SET version = '$version'
public function processLocales($tplFile, $rev) {
$smarty = CRM_Core_Smarty::singleton();
$smarty->assign('domainID', CRM_Core_Config::domainID());
+ $tempVars = [
+ 'upgradeRev' => $rev,
+ ];
- $this->source($smarty->fetch
($tplFile
), TRUE);
+ $this->source($smarty->fetch
With($tplFile, $tempVars
), TRUE);
if ($this->multilingual) {
CRM_Core_I18n_Schema::rebuildMultilingualSchema($this->locales, $rev);