X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=framework%2Fmain%2Fclasses%2Fcommands%2Fclass_BaseCommand.php;h=8eba066cf591692d43d638bd3cec89116a79f1cb;hb=79e6029823f993ec7503a399aa2fdbb95aadb2d1;hp=49c357b89ac60d23c19af742193bb1edfdf1c738;hpb=335a72fec3b93b9212c36575e2bf7fb676870051;p=core.git diff --git a/framework/main/classes/commands/class_BaseCommand.php b/framework/main/classes/commands/class_BaseCommand.php index 49c357b8..8eba066c 100644 --- a/framework/main/classes/commands/class_BaseCommand.php +++ b/framework/main/classes/commands/class_BaseCommand.php @@ -117,7 +117,7 @@ abstract class BaseCommand extends BaseFrameworkSystem { // Construct the menu in every command. We could do this in BaseCommand class. But this means // *every* command has a navigation system and that is want we don't want. - $menuInstance = ObjectFactory::createObjectByConfiguredName($applicationInstance->getAppShortName() . '_' . $this->getResolverInstance()->getCommandName() . '_menu_class', array($applicationInstance)); + $menuInstance = ObjectFactory::createObjectByConfiguredName($applicationInstance->getAppShortName() . '_' . $this->getResolverInstance()->getCommandName() . '_menu_class'); // Render the menu $menuInstance->renderMenu();