Fixed this :(
authorRoland Häder <roland@mxchange.org>
Tue, 8 Nov 2011 03:00:46 +0000 (03:00 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 8 Nov 2011 03:00:46 +0000 (03:00 +0000)
inc/classes/exceptions/socket/class_InvalidSocketException.php

index 448d2cb..dc40287 100644 (file)
@@ -32,7 +32,7 @@ class InvalidSocketException extends FrameworkException {
         */
        public function __construct (array $messageData, $code) {
                // Is it a resource?
-               if (is_resource($message[1])) {
+               if (is_resource($messageData[1])) {
                        // Get last error
                        $lastError = socket_last_error($messageData[1]);