From 1f4d13eb2ea1820f2ea61799c151f465c2c94886 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 14 Apr 2018 23:26:51 +0200 Subject: [PATCH] Continued: - convertDashesToUnderscores() is invoked static by StringUtils::convertDashesToUnderscores MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../main/classes/helper/html/links/class_HtmlLinkHelper.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/framework/main/classes/helper/html/links/class_HtmlLinkHelper.php b/framework/main/classes/helper/html/links/class_HtmlLinkHelper.php index 3d163550..8e43fcf1 100644 --- a/framework/main/classes/helper/html/links/class_HtmlLinkHelper.php +++ b/framework/main/classes/helper/html/links/class_HtmlLinkHelper.php @@ -8,6 +8,7 @@ use Org\Mxchange\CoreFramework\Configuration\FrameworkConfiguration; use Org\Mxchange\CoreFramework\Generic\NullPointerException; use Org\Mxchange\CoreFramework\Helper\Template\HelpableTemplate; use Org\Mxchange\CoreFramework\Registry\GenericRegistry; +use Org\Mxchange\CoreFramework\String\Utils\StringUtils; use Org\Mxchange\CoreFramework\Template\CompileableTemplate; /** @@ -95,7 +96,7 @@ class HtmlLinkHelper extends BaseHtmlHelper implements HelpableTemplate { } // END - if // Get page (this will throw an exception if not set) - $command = $helperInstance->convertDashesToUnderscores($requestInstance->getRequestElement('command')); + $command = StringUtils::convertDashesToUnderscores($requestInstance->getRequestElement('command')); // Construct config entry $configEntry = $command . '_' . $linkName . '_action_url'; -- 2.39.5