mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing transposition of parameters to setLastError. Fixes #1570
This commit is contained in:
parent
197c9bf912
commit
2e76d32cf9
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue