diff --git a/system/Database/Forge.php b/system/Database/Forge.php index d6178c79306c..93f1bd550d4c 100644 --- a/system/Database/Forge.php +++ b/system/Database/Forge.php @@ -275,10 +275,7 @@ private function databaseExists(string $dbName): bool return false; } - return $this->db->query( - $this->checkDatabaseExistStr, - $this->db->escapeIdentifier($dbName) - )->getRow() !== null; + return $this->db->query($this->checkDatabaseExistStr, $dbName)->getRow() !== null; } /**