]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/commands/html/class_HtmlConfirmCommand.php
Continued:
[core.git] / framework / main / classes / commands / html / class_HtmlConfirmCommand.php
index cc074a86dc28ceeb2fb3e917e9ef2266df7d80c2..5be6195f7c27b31ed04e7ba9e102a8917dc35271 100644 (file)
@@ -73,13 +73,13 @@ class HtmlConfirmCommand extends BaseCommand implements Commandable {
         */
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
                // Get the application instance
-               $applicationInstance = GenericRegistry::getRegistry()->getInstance('app');
+               $applicationInstance = GenericRegistry::getRegistry()->getInstance('application');
 
                // Prepare a template instance
                $templateInstance = $this->prepareTemplateInstance($applicationInstance);
 
                // Assign application data with template engine
-               $templateInstance->assignApplicationData($applicationInstance);
+               $templateInstance->assignApplicationData();
 
                // Assign base URL
                $templateInstance->assignConfigVariable('base_url');