X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fship-simu%2Fclass_ApplicationHelper.php;h=89acb85ea9e952485b64a10e9b12ce92b1637f3d;hb=d5e40277c2607f2cb130ab9fde84f8fbdb832ce4;hp=370bd0223c7284fe4e98fc7888653bffdedcd3b0;hpb=40a783a7a586e54793176ad51c8e2a4ad7a36a93;p=shipsimu.git diff --git a/application/ship-simu/class_ApplicationHelper.php b/application/ship-simu/class_ApplicationHelper.php index 370bd02..89acb85 100644 --- a/application/ship-simu/class_ApplicationHelper.php +++ b/application/ship-simu/class_ApplicationHelper.php @@ -208,7 +208,7 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica // If it is null then get default command if (is_null($commandName)) { - $commandName = $this->getConfigInstance()->readConfig('default_command'); + $commandName = $responseInstance->getDefaultCommand(); } // END - if // Get a resolver @@ -232,7 +232,7 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica // Walk through all messages foreach ($messageList as $message) { print("MSG:".$message."
\n"); - } + } // END - if } }