This commit is contained in:
Visman 2021-12-18 00:26:37 +07:00
parent 975ab6190f
commit 2b546af3b9

View file

@ -69,7 +69,7 @@ class DB extends PDO
$statement = $typeU . 'Statement' . (\PHP_MAJOR_VERSION < 8 ? '7' : '');
if (\is_file(__DIR__ . "/DB/{$typeU}.php")) {
if (\is_file(__DIR__ . "/DB/{$statement}.php")) {
$statement = 'ForkBB\\Core\\DB\\' . $statement;
} else {
$statement = DBStatement::class;