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:
nate 2007-08-20 13:16:12 +00:00
parent b4a8d513c3
commit 8f8e471b5b

View file

@ -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;
}
}