Permalink
Browse files

Checking for french error on dbo_mssql. Fixes #77.

  • Loading branch information...
1 parent ecea49f commit 931606f7f5586ab6eb60d95e14dc66efbf43819d @renan renan committed Dec 9, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/model/datasources/dbo/dbo_mssql.php
@@ -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;
}
}

0 comments on commit 931606f

Please sign in to comment.