]> git.mxchange.org Git - core.git/commitdiff
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 448d2cbd36f2776ac7c5ead11a6a30b05ef840e7..dc40287ab347e54f32a6b027c64951ae842dee88 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]);