Fix random content being replaced for widget output if skin path does not exist

This commit is contained in:
Kijin Sung 2021-04-12 22:48:05 +09:00
parent 06f23f3b3b
commit 827499bee3
2 changed files with 27 additions and 6 deletions

View file

@ -736,7 +736,7 @@ class content extends WidgetHandler
function _compile($args,$content_items)
{
$oTemplate = &TemplateHandler::getInstance();
$oTemplate = TemplateHandler::getInstance();
// Set variables for widget
$widget_info = new stdClass();
$widget_info->modules_info = $args->modules_info;