]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/commands/html/class_HtmlRegisterCommand.php
Continued:
[core.git] / framework / main / classes / commands / html / class_HtmlRegisterCommand.php
index 1c65919a4451aedae2d64823fa95bc262e9a6e5e..7ca5a6edbd607f9fcec1e9c5a0ed26ba8eeef95f 100644 (file)
@@ -8,6 +8,7 @@ use Org\Mxchange\CoreFramework\Command\BaseCommand;
 use Org\Mxchange\CoreFramework\Command\Commandable;
 use Org\Mxchange\CoreFramework\Controller\Controller;
 use Org\Mxchange\CoreFramework\Factory\ObjectFactory;
+use Org\Mxchange\CoreFramework\Helper\Application\ApplicationHelper;
 use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
 use Org\Mxchange\CoreFramework\Request\Requestable;
 use Org\Mxchange\CoreFramework\Resolver\Command\CommandResolver;
@@ -75,7 +76,7 @@ class HtmlRegisterCommand extends BaseCommand implements Commandable {
                GenericRegistry::getRegistry()->addInstance('extra', $this);
 
                // Get the application instance
-               $applicationInstance = GenericRegistry::getRegistry()->getInstance('application');
+               $applicationInstance = ApplicationHelper::getSelfInstance();
 
                // Assign all the application's data with template variables
                $this->getTemplateInstance()->assignApplicationData();