Skip to content
Browse files

Checking for french error on dbo_mssql. Fixes #77.

  • Loading branch information...
1 parent 7c2cdb1 commit c3bf6bc0e82c0e59115ad5b21e313fedb5d6d46d @renan renan committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/model/datasources/dbo/dbo_mssql.php
View
2 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.
Something went wrong with that request. Please try again.