mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Adding fix for DboMssql::lastError() (Ticket #3073)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5556 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
b4a8d513c3
commit
8f8e471b5b
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ class DboMssql extends DboSource {
|
|||
$error = mssql_get_last_message($this->connection);
|
||||
|
||||
if ($error) {
|
||||
if (strpos('changed database', low($error)) !== false) {
|
||||
if (strpos(low($error), 'changed database') === false) {
|
||||
return $error;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue