]> git.mxchange.org Git - mailer.git/blobdiff - inc/classes/main/commands/web/class_WebRegisterCommand.php
Code sync from ship-simu code (all class config entries must end with _class!)
[mailer.git] / inc / classes / main / commands / web / class_WebRegisterCommand.php
index 1f85254b819bc94d93f94a76c2b7402fba5bec83..df504999875b2368fce140f38b2f4c102f80e3e5 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
@@ -103,7 +103,7 @@ class WebRegisterCommand 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 = "Register";
                $templateInstance->assignVariable('title', $title);