Bug renderTemplate function is loading the unmodified version of a modified template

There is a bug in this version
S

Siropu

Guest
Using the following code, renderTemplate will load the original version instead of the modified version.

PHP:

Code:
$templater = \XF::app()->templater();
$templater->addDefaultParam('xf', \XF::app()->getGlobalTemplateData());
$templater->renderTemplate('public:modified_template_name');

Continue reading...