Code sync from ship-simu code (all class config entries must end with _class!)
[mailer.git] / inc / classes / main / commands / web / class_WebHomeCommand.php
index 8dcf3b1c451cc1a05fcfa0d8ca5644ad5be3f856..3cc3592cf40c022d46a85f709c1c0dbad2ef774a 100644 (file)
@@ -6,7 +6,7 @@
  * @version            0.0.0
  * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.ship-simu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -99,7 +99,7 @@ class WebHomeCommand extends BaseCommand implements Commandable {
                $templateInstance->loadCodeTemplate($masterTemplate);
 
                // Set title
-               $title = ucfirst($requestInstance->getRequestElement($this->getConfigInstance()->readConfig('command_parameter')));
+               $title = ucfirst($requestInstance->getRequestElement("page"));
                if (empty($title)) $title = "Home";
                $templateInstance->assignVariable('title', $title);