From: Roland Häder Date: Fri, 20 Jun 2008 18:11:06 +0000 (+0000) Subject: More wrong calls fixed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=24c41250dd2af7df792e262e03bca8affcc0e40f;p=shipsimu.git More wrong calls fixed --- diff --git a/application/ship-simu/main/commands/web/class_WebShipsimuGuestLoginCommand.php b/application/ship-simu/main/commands/web/class_WebShipsimuGuestLoginCommand.php index 0c9e6cb..2fd8165 100644 --- a/application/ship-simu/main/commands/web/class_WebShipsimuGuestLoginCommand.php +++ b/application/ship-simu/main/commands/web/class_WebShipsimuGuestLoginCommand.php @@ -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; diff --git a/application/ship-simu/main/commands/web/class_WebShipsimuUserLoginCommand.php b/application/ship-simu/main/commands/web/class_WebShipsimuUserLoginCommand.php index 3721c08..2eff732 100644 --- a/application/ship-simu/main/commands/web/class_WebShipsimuUserLoginCommand.php +++ b/application/ship-simu/main/commands/web/class_WebShipsimuUserLoginCommand.php @@ -102,7 +102,7 @@ class WebShipsimuUserLoginCommand 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;