]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/commands/web/class_WebShipsimuGuestLoginCommand.php
More wrong calls fixed
[shipsimu.git] / application / ship-simu / main / commands / web / class_WebShipsimuGuestLoginCommand.php
index 0c9e6cbe60e1e156613eea9e5c3562a648e39551..2fd8165f7500c7f9cd33bf729ed46c26e5185a1d 100644 (file)
@@ -102,7 +102,7 @@ class WebShipsimuGuestLoginCommand extends BaseCommand implements Commandable {
         */
        function addExtraFilters (Controller $controllerInstance) {
                // Which login type do we have?
-               switch ($commandInstance->getConfigInstance()->readConfig('login_type')) {
+               switch ($this->getConfigInstance()->readConfig('login_type')) {
                        case "username": // Login via username
                                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('username_verifier_class'));
                                break;