Skip to content
Permalink
Browse files

Checking for french error on dbo_mssql. Fixes #77.

  • Loading branch information...
renan committed Dec 9, 2009
1 parent 7c2cdb1 commit c3bf6bc0e82c0e59115ad5b21e313fedb5d6d46d
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/model/datasources/dbo/dbo_mssql.php
@@ -415,7 +415,7 @@ function lastError() {
$error = mssql_get_last_message();
if ($error) {
if (!preg_match('/contexto de la base de datos a|contesto di database|changed database|datenbankkontext/i', $error)) {
if (!preg_match('/contexto de la base de datos a|contesto di database|changed database|contexte de la base de don|datenbankkontext/i', $error)) {
return $error;
}
}

0 comments on commit c3bf6bc

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.