Skip to content

Commit

Permalink
Checking for french error on dbo_mssql. Fixes #77.
Browse files Browse the repository at this point in the history
  • Loading branch information
renan committed Dec 9, 2009
1 parent ecea49f commit 931606f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/libs/model/datasources/dbo/dbo_mssql.php
Expand Up @@ -427,7 +427,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;
}
}
Expand Down

0 comments on commit 931606f

Please sign in to comment.