Ensure compatibility with all versions of Smarty
Compare changes
Files
2+ 2
− 2
@@ -21,7 +21,7 @@ function example_civicrm_pageRun(&$page) {
@@ -68,7 +68,7 @@ function example_civicrm_pageRun(&$page) {
This code fails in Smarty 3+. See https://github.com/civicrm/civicrm-core/pull/27589 for an example of this change in core.
Once Smarty 2 is dropped, we can change these again to getTemplateVars()
but for now we use get_template_vars()
and rely on the Civi Smarty compatibility layer.