diff --git a/system/Database/Database.php b/system/Database/Database.php index 345c0228e67f..11c9512d7c53 100644 --- a/system/Database/Database.php +++ b/system/Database/Database.php @@ -99,7 +99,7 @@ public function load(array $params = [], string $alias) */ public function loadForge(ConnectionInterface $db) { - $className = strpos($db->DBDriver, '\\') === false ? '\CodeIgniter\Database\\' . $db->DBDriver . '\\Forge' : $db->DBDriver . '\\Connection'; + $className = strpos($db->DBDriver, '\\') === false ? '\CodeIgniter\Database\\' . $db->DBDriver . '\\Forge' : $db->DBDriver . '\\Forge'; // Make sure a connection exists if ( ! $db->connID)