mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
Checking for french error on dbo_mssql. Fixes #77.
This commit is contained in:
parent
252e9b267f
commit
b273981915
1 changed files with 1 additions and 1 deletions
|
@ -427,7 +427,7 @@ class DboMssql extends DboSource {
|
|||
$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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue