diff --git a/module/Olcs/src/Controller/Lva/TransportManager/AbstractDeclarationController.php b/module/Olcs/src/Controller/Lva/TransportManager/AbstractDeclarationController.php index 0fd4d7cf0..9d3f3c279 100644 --- a/module/Olcs/src/Controller/Lva/TransportManager/AbstractDeclarationController.php +++ b/module/Olcs/src/Controller/Lva/TransportManager/AbstractDeclarationController.php @@ -99,7 +99,7 @@ protected function digitalSignatureAction() $routeParams = ['lva'=>$this->lva, 'role'=>$role, 'applicationId'=>$this->tma['application']['id'], 'transportManagerApplicationId'=>$this->tma['id']]; $featureEnabled = $this->handleQuery(IsEnabledQry::create(['ids' => [FeatureToggle::GOVUK_ACCOUNT]]))->getResult()['isEnabled']; if (!$featureEnabled) { - $this->redirect()->toRoute( + return $this->redirect()->toRoute( 'verify/transport-manager', $routeParams );