Fixing transposition of parameters to setLastError. Fixes #1570

This commit is contained in:
mark_story 2011-03-03 20:46:43 -05:00
parent 197c9bf912
commit 2e76d32cf9

View file

@ -122,7 +122,7 @@ class CakeSocket extends Object {
} }
if (!empty($errNum) || !empty($errStr)) { if (!empty($errNum) || !empty($errStr)) {
$this->setLastError($errStr, $errNum); $this->setLastError($errNum, $errStr);
} }
$this->connected = is_resource($this->connection); $this->connected = is_resource($this->connection);