fix: syntax error in dba_pdo.php

This commit is contained in:
Penta0308 2024-07-26 02:06:28 +00:00
parent 5c8584ef00
commit 69119ee70d

View file

@ -40,7 +40,7 @@ class dba_pdo extends dba_driver
$dsn .= ';charset=utf8mb4';
}
if ($this->driver_type === 'pgsql' && !strpos($dsn,'client_encoding')) {
if ($this->driver_dbtype === 'pgsql' && !strpos($dsn,'client_encoding')) {
$dsn .= ";options='--client_encoding=UTF8'";
}