Skip to content

Commit

Permalink
OntoWiki_View->modules accepts array
Browse files Browse the repository at this point in the history
OntoWiki_View->module accepts arrays, so there is no need for modules to not accept them
  • Loading branch information
white-gecko committed Apr 21, 2012
1 parent adf2642 commit 384af2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/classes/OntoWiki/View.php
Expand Up @@ -143,7 +143,7 @@ public function clearModuleCache($moduleName = null)
* @param string $context The module context whose modules should be rendered
* @return string
*/
public function modules($context, Zend_Config $renderOptions = null)
public function modules($context, $renderOptions = null)
{
$modules = '';
foreach (OntoWiki_Module_Registry::getInstance()->getModulesForContext($context) as $moduleSpec) {
Expand Down

0 comments on commit 384af2e

Please sign in to comment.