mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Fix unnecessary assignment by reference, which causes E_NOTICE
This commit is contained in:
parent
ed15587c4f
commit
6c113c22ed
35 changed files with 80 additions and 84 deletions
|
|
@ -682,7 +682,6 @@ class content extends WidgetHandler
|
|||
|
||||
function _compile($args,$content_items)
|
||||
{
|
||||
$oTemplate = TemplateHandler::getInstance();
|
||||
// Set variables for widget
|
||||
$widget_info = new stdClass();
|
||||
$widget_info->modules_info = $args->modules_info;
|
||||
|
|
@ -741,6 +740,8 @@ class content extends WidgetHandler
|
|||
Context::set('widget_info', $widget_info);
|
||||
|
||||
$tpl_path = sprintf('%sskins/%s', $this->widget_path, $args->skin);
|
||||
|
||||
$oTemplate = TemplateHandler::getInstance();
|
||||
return $oTemplate->compile($tpl_path, "content");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue