From 5dd950c9ec3b920b6f99b5b26ecf13909b8f2ce1 Mon Sep 17 00:00:00 2001 From: kenjis Date: Wed, 27 Mar 2024 10:12:23 +0900 Subject: [PATCH] fix: remove unneeded escape --- system/Database/Forge.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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; } /**