*/
public function renderMenu () {
// Initialize the menu system by preparing it's template instance
- $templateInstance = ObjectFactory::createObjectByConfiguredName('menu_template_class', array($this));
+ $templateInstance = ObjectFactory::createObjectByConfiguredName('menu_template_class', [$this]);
// Set it for later use
$this->setTemplateInstance($templateInstance);
if (empty($command)) {
// Use default page as none has been specified
$command = FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('default_' . ApplicationHelper::getSelfInstance()->getAppShortName() . '_' . FrameworkBootstrap::getRequestTypeFromSystem() . '_command');
- } // END - if
+ }
// Load the menu template for this page
try {