Continued:
[core.git] / framework / main / classes / commands / class_BaseCommand.php
index 8417f019398162d076837f3c5f440f8306448979..12ae3690202b6adf0741dfd8ecce9478275a718a 100644 (file)
@@ -56,7 +56,7 @@ abstract class BaseCommand extends BaseFrameworkSystem {
                assert(!$requestInstance->isPostRequestMethod());
 
                // Get the application instance
-               $applicationInstance = GenericRegistry::getRegistry()->getInstance('app');
+               $applicationInstance = GenericRegistry::getRegistry()->getInstance('application');
 
                // Prepare a template instance
                $templateInstance = $this->prepareTemplateInstance($applicationInstance);