diff --git a/Sources/Db/APIs/MySQL.php b/Sources/Db/APIs/MySQL.php index 7c62527ea0..efacd885ea 100644 --- a/Sources/Db/APIs/MySQL.php +++ b/Sources/Db/APIs/MySQL.php @@ -169,7 +169,7 @@ public function query(string $db_string, array $db_values = [], ?object $connect // First, we clean strings out of the query, reduce whitespace, lowercase, and trim - so we can check it over. if (!$this->disableQueryCheck) { - $clean = preg_split('/(?disableQueryCheck) { - $clean = preg_split('/(?escape_string($column['default']) . '\''; + } } else { $default = ''; }