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:
f982eb1
)
always set formTpl
author
demeritcowboy
<demeritcowboy@hotmail.com>
Wed, 10 Nov 2021 00:16:47 +0000
(19:16 -0500)
committer
demeritcowboy
<demeritcowboy@hotmail.com>
Wed, 10 Nov 2021 00:16:47 +0000
(19:16 -0500)
CRM/Core/Controller.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Controller.php
b/CRM/Core/Controller.php
index 0a5f6482e8d55de2a45cfeb42d9cebbe9e697994..3924aa464173e07a943e57f9fbc16a0d7508f223 100644
(file)
--- a/
CRM/Core/Controller.php
+++ b/
CRM/Core/Controller.php
@@
-172,6
+172,7
@@
class CRM_Core_Controller extends HTML_QuickForm_Controller {
if (!isset(self::$_template)) {
self::$_template = CRM_Core_Smarty::singleton();
self::$_session = CRM_Core_Session::singleton();
+ self::$_template->ensureVariablesAreAssigned(['formTpl']);
}
// lets try to get it from the session and/or the request vars