From 62f90c83a1094d44332258da7b06a35b6b53743c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 20 Dec 2008 21:11:09 +0000 Subject: [PATCH] Dashes removed --- application/selector/class_ApplicationHelper.php | 2 +- application/ship-simu/class_ApplicationHelper.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5