Skip to content

Commit

Permalink
Merge pull request #4951 from Bakual/FixLayoutCustomModule
Browse files Browse the repository at this point in the history
Respect layout parameter in administrator custom module
  • Loading branch information
infograf768 committed Oct 29, 2014
2 parents b8b7142 + feb2aa2 commit bb23762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion administrator/modules/mod_custom/mod_custom.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
// Replace 'images/' to '../images/' when using an image from /images in backend.
$module->content = preg_replace('*src\=\"(?!administrator\/)images/*', 'src="../images/', $module->content);

require JModuleHelper::getLayoutPath('mod_custom');
require JModuleHelper::getLayoutPath('mod_custom', $params->get('layout', 'default'));

0 comments on commit bb23762

Please sign in to comment.