]> git.mxchange.org Git - core.git/commitdiff
Prefix for action URLs extended with _url
authorRoland Häder <roland@mxchange.org>
Sat, 1 Aug 2009 10:05:02 +0000 (10:05 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 1 Aug 2009 10:05:02 +0000 (10:05 +0000)
inc/classes/main/discovery/payment/class_LocalPaymentDiscovery.php
inc/classes/main/helper/web/links/class_WebLinkHelper.php

index b9537431dd1767ff07d374c9aeed118c2ede4e72..175756ea2cd39e13d573d8eea50e9fefd05c137e 100644 (file)
@@ -64,8 +64,8 @@ class LocalPaymentDiscovery extends BaseDiscovery implements Discoverable, Regis
        public function discover (Requestable $requestInstance) {
                // Now get a search criteria and set app name and payment action as search critera
                $criteriaInstance = ObjectFactory::createObjectByConfiguredName('search_criteria_class');
-               $criteriaInstance->addCriteria("app_name", $requestInstance->getRequestElement('app'));
-               $criteriaInstance->addCriteria("payment_action", $this->getActionName().'_action');
+               $criteriaInstance->addCriteria('app_name', $requestInstance->getRequestElement('app'));
+               $criteriaInstance->addCriteria('payment_action', $this->getActionName() . '_action');
                $criteriaInstance->setLimit(1);
 
                // Get a wrapper instance
index 6c5b578f6021b31d4accb0ce7288ad4d82c2778b..484d2fe6bff4d229e0438de81b36d42f7a29b7c3 100644 (file)
@@ -94,7 +94,7 @@ class WebLinkHelper extends BaseWebHelper implements HelpableTemplate {
                $page = $helperInstance->convertDashesToUnderscores($requestInstance->getRequestElement('page'));
 
                // Construct config entry
-               $configEntry = $page . '_' . $linkName . '_action';
+               $configEntry = $page . '_' . $linkName . '_action_url';
 
                // Is the deprecated parameter set?
                if (!is_null($linkBase)) {