]> git.mxchange.org Git - hub.git/commitdiff
Fixed 'undefined variable' in TcpConnectionHelper
authorRoland Häder <roland@mxchange.org>
Wed, 31 Aug 2011 20:17:01 +0000 (20:17 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 31 Aug 2011 20:17:01 +0000 (20:17 +0000)
application/hub/main/helper/connection/tcp/class_TcpConnectionHelper.php

index 5f41295c8e4efb25142ff9210f693393feee1ac0..260bcdf8d77abfad523fc8c24c31a3b17d0a9707 100644 (file)
@@ -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;