Skip to content
Snippets Groups Projects
Unverified Commit cd827fb2 authored by colemanw's avatar colemanw Committed by GitHub
Browse files

Merge pull request #22018 from demeritcowboy/php8-formtpl

Ensure smarty variable formTpl is set
parents 2fd61e92 03f46250
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment