]> git.mxchange.org Git - core.git/blobdiff - inc/classes/exceptions/socket/class_InvalidSocketException.php
Fixed this :(
[core.git] / 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]);