]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/filter/goverment/class_ShipSimuGovermentPaysTrainingFilter.php
Typos fixed and special command resolver are now possible
[shipsimu.git] / application / ship-simu / main / filter / goverment / class_ShipSimuGovermentPaysTrainingFilter.php
index febd4bd2c8594c458b69f7892ff88043191ced31..466059c7c9b22ca8972ad1180f4bcd6d51b6b457 100644 (file)
@@ -66,11 +66,11 @@ class ShipSimuGovermentPaysTrainingFilter extends BaseFrameworkSystem implements
                        // Request is invalid
                        $requestInstance->requestIsValid(false);
 
                        // Request is invalid
                        $requestInstance->requestIsValid(false);
 
-                       // Add a message to the response
-                       $responseInstance->addFatalMessage('goverment_pays_no_training');
+                       // Redirect to configured URL
+                       $responseInstance->redirectToConfiguredUrl('login_goverment_training_failed_url');
 
 
-                       // Abort here
-                       return false;
+                       // Stop processing here
+                       exit();
                } // END - if
        }
 }
                } // END - if
        }
 }