From: Roland Häder Date: Sat, 20 Dec 2008 21:11:09 +0000 (+0000) Subject: Dashes removed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=62f90c83a1094d44332258da7b06a35b6b53743c;p=shipsimu.git Dashes removed --- diff --git a/application/selector/class_ApplicationHelper.php b/application/selector/class_ApplicationHelper.php index 1fd3e76..e1af862 100644 --- a/application/selector/class_ApplicationHelper.php +++ b/application/selector/class_ApplicationHelper.php @@ -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; diff --git a/application/ship-simu/class_ApplicationHelper.php b/application/ship-simu/class_ApplicationHelper.php index 1fd3e76..e1af862 100644 --- a/application/ship-simu/class_ApplicationHelper.php +++ b/application/ship-simu/class_ApplicationHelper.php @@ -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;