Skip to content

Commit

Permalink
Correct namespace reference (Fix #17448)
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Babker committed Aug 8, 2017
1 parent 2d7f8dd commit 322a477
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/src/Document/Renderer/Html/ModuleRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function render($module, $attribs = array(), $content = null)
* we want to render it
*/
$tmp = $module;
$module = new stdClass;
$module = new \stdClass;
$module->params = null;
$module->module = $tmp;
$module->id = 0;
Expand Down Expand Up @@ -86,7 +86,7 @@ public function render($module, $attribs = array(), $content = null)
if ($params->get('cache', 0) == 1 && \JFactory::getConfig()->get('caching') >= 1 && $cachemode != 'id' && $cachemode != 'safeuri')
{
// Default to itemid creating method and workarounds on
$cacheparams = new stdClass;
$cacheparams = new \stdClass;
$cacheparams->cachemode = $cachemode;
$cacheparams->class = 'JModuleHelper';
$cacheparams->method = 'renderModule';
Expand Down

1 comment on commit 322a477

@alikon
Copy link
Contributor

@alikon alikon commented on 322a477 Aug 8, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx

Please sign in to comment.