'page' and 'command' were both the same (command), so better name it same way.
[shipsimu.git] / application / shipsimu / main / commands / web / government / class_WebGovernmentFailedTrainingCommand.php
index 45bcc3206766c2e65feba64cc5e4fad35d91f968..fe8fc080edec587f34e4b61a77295ee32a0e56fd 100644 (file)
@@ -108,7 +108,7 @@ class WebGovernmentFailedTrainingCommand extends BaseCommand implements Commanda
                $templateInstance->loadCodeTemplate($masterTemplate);
 
                // Set title
-               $templateInstance->assignVariable('title', $this->getLanguageInstance()->getMessage($requestInstance->getRequestElement('page') . '_' . $requestInstance->getRequestElement('failed') . '_title'));
+               $templateInstance->assignVariable('title', $this->getLanguageInstance()->getMessage($requestInstance->getRequestElement('command') . '_' . $requestInstance->getRequestElement('failed') . '_title'));
 
                // Construct the menu in every command. We could do this in BaseCommand class. But this means
                // *every* command has a navigation system and that is want we don't want.