Merge pull request 'fix: syntax error in dba_pdo.php' (#180) from Penta0308/streams:dev into dev

Reviewed-on: https://codeberg.org/streams/streams/pulls/180
This commit is contained in:
(streams) 2024-07-26 07:06:06 +00:00
commit 758c0cfd97

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'";
}