]> git.mxchange.org Git - hub.git/commitdiff
Bad find-replace.
authorRoland Haeder <roland@mxchange.org>
Mon, 17 Mar 2014 22:08:53 +0000 (23:08 +0100)
committerRoland Haeder <roland@mxchange.org>
Mon, 17 Mar 2014 22:08:53 +0000 (23:08 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
application/hub/main/factories/node/class_NodeObjectFactory.php

index 3b676eb7a8b841ce87f0b7e5d42248dab42471de..966822bc2ef3c72d5e1c5dd2b20ec95182a1d09a 100644 (file)
@@ -47,7 +47,7 @@ class NodeObjectFactory extends ObjectFactory {
                // If there is no handler?
                if (Registry::getRegistry()->instanceExists('node')) {
                        // Get handler from registry
-                       $nodeInstance = NodeObjectFactory::createNodeInstance();
+                       $nodeInstance = Registry::getRegistry()->getInstance('node');
                } elseif (($requestInstance instanceof Requestable) && ($responseInstance instanceof Responseable)) {
                        // The default node-mode is from our configuration
                        $nodeMode = $factoryInstance->getConfigInstance()->getConfigEntry('node_default_mode');