Continued:
[core.git] / framework / main / classes / commands / image / class_ImageCodeCaptchaCommand.php
index 34c1d00bfaba9c77055cdfa1a2bd182c0c6bda16..641e46ac7ad307ee13c8b07b6b8c53479f54624b 100644 (file)
@@ -73,7 +73,7 @@ class ImageCodeCaptchaCommand extends BaseCommand implements Commandable {
                $decryptedCode = $requestInstance->getRequestElement('decrypted');
 
                // Get the application instance
-               $applicationInstance = GenericRegistry::getRegistry()->getInstance('app');
+               $applicationInstance = GenericRegistry::getRegistry()->getInstance('application');
 
                // Prepare a template instance
                $templateInstance = $this->prepareTemplateInstance($applicationInstance);