Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CiviCRM Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
CiviCRM Core
Commits
cd827fb2
Unverified
Commit
cd827fb2
authored
3 years ago
by
colemanw
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #22018 from demeritcowboy/php8-formtpl
Ensure smarty variable formTpl is set
parents
2fd61e92
03f46250
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CRM/Core/Controller.php
+1
-0
1 addition, 0 deletions
CRM/Core/Controller.php
with
1 addition
and
0 deletions
CRM/Core/Controller.php
+
1
−
0
View file @
cd827fb2
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment