]> git.mxchange.org Git - shipsimu.git/commitdiff
Dashes removed
authorRoland Häder <roland@mxchange.org>
Sat, 20 Dec 2008 21:11:09 +0000 (21:11 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 20 Dec 2008 21:11:09 +0000 (21:11 +0000)
application/selector/class_ApplicationHelper.php
application/ship-simu/class_ApplicationHelper.php

index 1fd3e76a15ceff8c551d21b0d4f00bc44b244717..e1af8620c08f25dd4b28a221c31183e4d66d18b4 100644 (file)
@@ -160,7 +160,7 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication
         */
        public function buildMasterTemplateName () {
                // Get short name and add suffix
-               $masterTemplateName = $this->getAppShortName() . "_main";
+               $masterTemplateName = str_replace("-", "", $this->getAppShortName()) . "_main";
 
                // Return it
                return $masterTemplateName;
index 1fd3e76a15ceff8c551d21b0d4f00bc44b244717..e1af8620c08f25dd4b28a221c31183e4d66d18b4 100644 (file)
@@ -160,7 +160,7 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication
         */
        public function buildMasterTemplateName () {
                // Get short name and add suffix
-               $masterTemplateName = $this->getAppShortName() . "_main";
+               $masterTemplateName = str_replace("-", "", $this->getAppShortName()) . "_main";
 
                // Return it
                return $masterTemplateName;