X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fship-simu%2Fclass_ApplicationHelper.php;h=32bd7649120547a880d2563198ed87353a850153;hp=ab372a5f8cb3a0a6cc27b4609ba38a86b4171108;hb=25c3c49665cd853fd9618426004f1f2a278e20aa;hpb=390641f83ec749cc41a77bb80357105c200abb43 diff --git a/application/ship-simu/class_ApplicationHelper.php b/application/ship-simu/class_ApplicationHelper.php index ab372a5..32bd764 100644 --- a/application/ship-simu/class_ApplicationHelper.php +++ b/application/ship-simu/class_ApplicationHelper.php @@ -193,7 +193,7 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica $this->setResponseInstance($responseInstance); // Get the parameter from the request - $commandName = $requestInstance->getRequestElement("page"); + $commandName = $requestInstance->getRequestElement('page'); // If it is null then get default command if (is_null($commandName)) { @@ -204,7 +204,7 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica $resolverInstance = WebControllerResolver::createWebControllerResolver($commandName, $this); // Get a controller instance as well - $this->controllerInstance = $resolverInstance->resolveCommandController(); + $this->controllerInstance = $resolverInstance->resolveController(); // Handle the request $this->controllerInstance->handleRequest($requestInstance, $responseInstance);