From: Roland Häder Date: Sat, 14 Apr 2018 21:26:51 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1f4d13eb2ea1820f2ea61799c151f465c2c94886;p=core.git Continued: - convertDashesToUnderscores() is invoked static by StringUtils::convertDashesToUnderscores Signed-off-by: Roland Häder --- 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';