mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 01:55:13 +00:00
fix: syntax error in dba_pdo.php
This commit is contained in:
parent
5c8584ef00
commit
69119ee70d
1 changed files with 1 additions and 1 deletions
|
@ -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'";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue