diff --git a/www/class/centreonDB.class.php b/www/class/centreonDB.class.php index c4a28e532f7..afa241188ca 100644 --- a/www/class/centreonDB.class.php +++ b/www/class/centreonDB.class.php @@ -419,11 +419,12 @@ public function numberRows() { */ public static function check_injection($sString) { + /* if (preg_match('/\s'.implode('|', self::$aForbiden) . '\s/i', $sString)) { throw new Exception("sql injection detected in string QUERY : " . $sString); return 1; } - + */ return 0; }