diff --git a/core/config.class.inc.php b/core/config.class.inc.php index 3ce2e076b..5a4fd3c11 100644 --- a/core/config.class.inc.php +++ b/core/config.class.inc.php @@ -1833,7 +1833,7 @@ class Config { $bIsWindows = (array_key_exists('WINDIR', $_SERVER) || array_key_exists('windir', $_SERVER)); - if ($bIsWindows && (preg_match("/[%!\"]/U", $this->Get('db_pwd')) !== false)) { + if ($bIsWindows && (preg_match("/[%!\"]/U", $this->Get('db_pwd')) !== 0)) { return false; }