From b4be03ed66dc0cb3c739efa9a2d5c66141516957 Mon Sep 17 00:00:00 2001 From: Elin Waring Date: Fri, 17 Jun 2011 00:10:44 -0400 Subject: [PATCH] Let getModules get the module parameters. --- libraries/joomla/application/module/helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/joomla/application/module/helper.php b/libraries/joomla/application/module/helper.php index 67ec7cd672..9b6172a9c7 100644 --- a/libraries/joomla/application/module/helper.php +++ b/libraries/joomla/application/module/helper.php @@ -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)