mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 21:55:15 +00:00
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:
commit
758c0cfd97
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