From 2e76d32cf9312ff9bc502e492cb092493fcdb477 Mon Sep 17 00:00:00 2001 From: mark_story Date: Thu, 3 Mar 2011 20:46:43 -0500 Subject: [PATCH] Fixing transposition of parameters to setLastError. Fixes #1570 --- cake/libs/cake_socket.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/libs/cake_socket.php b/cake/libs/cake_socket.php index e55eb8004..9b5af2ecc 100644 --- a/cake/libs/cake_socket.php +++ b/cake/libs/cake_socket.php @@ -122,7 +122,7 @@ class CakeSocket extends Object { } if (!empty($errNum) || !empty($errStr)) { - $this->setLastError($errStr, $errNum); + $this->setLastError($errNum, $errStr); } $this->connected = is_resource($this->connection);