From f3fad19fb4e188e09fd652addf18042e7575b6f9 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Mon, 17 Mar 2014 23:08:53 +0100 Subject: [PATCH] Bad find-replace. Signed-off-by: Roland Haeder --- application/hub/main/factories/node/class_NodeObjectFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); -- 2.39.5