From: Roland Haeder Date: Mon, 17 Mar 2014 22:08:53 +0000 (+0100) Subject: Bad find-replace. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f3fad19fb4e188e09fd652addf18042e7575b6f9;p=hub.git Bad find-replace. Signed-off-by: Roland Haeder --- diff --git a/application/hub/main/factories/node/class_NodeObjectFactory.php b/application/hub/main/factories/node/class_NodeObjectFactory.php index 3b676eb7a..966822bc2 100644 --- a/application/hub/main/factories/node/class_NodeObjectFactory.php +++ b/application/hub/main/factories/node/class_NodeObjectFactory.php @@ -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');