Continued:
[core.git] / framework / main / classes / filter / payment / class_PaymentDiscoveryFilter.php
index 7ba9426..5df7ac3 100644 (file)
@@ -121,7 +121,7 @@ class PaymentDiscoveryFilter extends BaseFilter implements Filterable {
                        $discoveryInstance->discover($requestInstance);
 
                        // Remember this instance if all wents fine
-                       Registry::getRegistry()->addInstance('payments', $discoveryInstance);
+                       GenericRegistry::getRegistry()->addInstance('payments', $discoveryInstance);
                } catch (NoConfigEntryException $e) {
                        // Something bad happend
                        $requestInstance->requestIsValid(false);