From: Roland Häder Date: Mon, 25 Feb 2013 08:12:12 +0000 (+0000) Subject: Opps :( X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=34917b56605a5dcae29503b538e1c5df6beba6d1;p=hub.git Opps :( --- diff --git a/application/hub/main/registry/socket/class_SocketRegistry.php b/application/hub/main/registry/socket/class_SocketRegistry.php index e9498c579..a293fb06c 100644 --- a/application/hub/main/registry/socket/class_SocketRegistry.php +++ b/application/hub/main/registry/socket/class_SocketRegistry.php @@ -206,7 +206,7 @@ class SocketRegistry extends BaseRegistry implements Register, RegisterableSocke // Does the instance exist? if (!$this->isProtocolRegistered($protocolInstance)) { // No, not found so we create a sub registry (not needed to configure!) - $registryInstance = SubREGISTRY[' . __LINE__ . ']::createSubRegistry(); + $registryInstance = SubRegistry::createSubRegistry(); // Now we can create the sub-registry for this protocol $this->addInstance($this->getRegistryKeyFromProtocol($protocolInstance), $registryInstance);