Standalone Smarty3 support
authorEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 11 Oct 2023 02:03:35 +0000 (15:03 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 11 Oct 2023 02:03:35 +0000 (15:03 +1300)
CRM/Utils/System/Standalone.php

index 92f5404f6410804a1e834f432864507695074035..1a5c7902e7464f908376acc165c3be27e3281f96 100644 (file)
@@ -285,7 +285,7 @@ class CRM_Utils_System_Standalone extends CRM_Utils_System_Base {
     // Q. what does this do? Why do we only include this for maintenance?
     if ($maintenance) {
       $smarty = CRM_Core_Smarty::singleton();
-      echo implode('', $smarty->_tpl_vars['pageHTMLHead']);
+      echo implode('', $smarty->getTemplateVars('pageHTMLHead'));
     }
 
     // @todo Add variables from the body tag? (for Shoreditch)