Centralized in core
authorRoland Häder <roland@mxchange.org>
Fri, 31 Jul 2009 19:06:48 +0000 (19:06 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 31 Jul 2009 19:06:48 +0000 (19:06 +0000)
inc/classes/main/helper/web/links/class_WebLinkHelper.php

index 5b4a9220e04eb1e364214228ad8e43dec0993805..6c5b578f6021b31d4accb0ce7288ad4d82c2778b 100644 (file)
@@ -94,12 +94,12 @@ class WebLinkHelper extends BaseWebHelper implements HelpableTemplate {
                $page = $helperInstance->convertDashesToUnderscores($requestInstance->getRequestElement('page'));
 
                // Construct config entry
                $page = $helperInstance->convertDashesToUnderscores($requestInstance->getRequestElement('page'));
 
                // Construct config entry
-               $configEntry = $page . '_' . $linkName;
+               $configEntry = $page . '_' . $linkName . '_action';
 
                // Is the deprecated parameter set?
                if (!is_null($linkBase)) {
                        // Then output a deprecation message
 
                // Is the deprecated parameter set?
                if (!is_null($linkBase)) {
                        // Then output a deprecation message
-                       $helperInstance->deprecationWarning(__METHOD__ . ': linkBase is deprecated. Please remove it from your templates and add a config entry ' . $configEntry . '_action in your config.php file.');
+                       $helperInstance->deprecationWarning(__METHOD__ . ': linkBase is deprecated. Please remove it from your templates and add a config entry ' . $configEntry . ' in your config.php file.');
                } // END - if
 
                // Determine link base from config now and 'page' request
                } // END - if
 
                // Determine link base from config now and 'page' request