From: Roland Häder Date: Wed, 31 Aug 2011 20:17:01 +0000 (+0000) Subject: Fixed 'undefined variable' in TcpConnectionHelper X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6f1813292337e0580dce0936e6abbd62bce91c12;p=hub.git Fixed 'undefined variable' in TcpConnectionHelper --- diff --git a/application/hub/main/helper/connection/tcp/class_TcpConnectionHelper.php b/application/hub/main/helper/connection/tcp/class_TcpConnectionHelper.php index 5f41295c8..260bcdf8d 100644 --- a/application/hub/main/helper/connection/tcp/class_TcpConnectionHelper.php +++ b/application/hub/main/helper/connection/tcp/class_TcpConnectionHelper.php @@ -135,7 +135,7 @@ class TcpConnectionHelper extends BaseConnectionHelper implements ConnectionHelp } // END - if // We have a connection, so change the state - PeerStateFactory::createPeerStateInstanceByName('connected', $this); + PeerStateFactory::createPeerStateInstanceByName('connected', $helperInstance); // Okay, that should be it. So return it... return $socketResource;