Skip to content

Commit

Permalink
Let getModules get the module parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
elinw committed Jun 17, 2011
1 parent 5593ff1 commit b4be03e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/joomla/application/module/helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public static function &getModule($name, $title = null)
for ($i = 0; $i < $total; $i++)
{
// Match the name of the module
if ($modules[$i]->name == $name)
if ($modules[$i]->name == $name || $modules[$i]->module == $name)
{
// Match the title if we're looking for a specific instance of the module
if (!$title || $modules[$i]->title == $title)
Expand Down

0 comments on commit b4be03e

Please sign in to comment.