X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=framework%2Fmain%2Fclasses%2Fcommands%2Fimage%2Fclass_ImageCodeCaptchaCommand.php;h=641e46ac7ad307ee13c8b07b6b8c53479f54624b;hp=34c1d00bfaba9c77055cdfa1a2bd182c0c6bda16;hb=8d8cf621bd811811cecd83c65a4ab91f27258e79;hpb=39c1aaf705e8e3c274d56ef1fa931a086f729c48 diff --git a/framework/main/classes/commands/image/class_ImageCodeCaptchaCommand.php b/framework/main/classes/commands/image/class_ImageCodeCaptchaCommand.php index 34c1d00b..641e46ac 100644 --- a/framework/main/classes/commands/image/class_ImageCodeCaptchaCommand.php +++ b/framework/main/classes/commands/image/class_ImageCodeCaptchaCommand.php @@ -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);