Skip to content

Commit

Permalink
Update Pgsql.php
Browse files Browse the repository at this point in the history
  • Loading branch information
rez1dent3 authored Mar 13, 2017
1 parent c87e0a1 commit 4b22fc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PHPixie/Database/Driver/PDO/Adapter/Pgsql.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Pgsql extends \PHPixie\Database\Driver\PDO\Adapter
{
public function preparePdo($pdo)
{
$pdo->exec("SET NAMES 'utf8'");
$pdo->exec("SET NAMES '" . $this->config->get('charset', 'utf8') . "'");
}

public function insertId()
Expand Down

0 comments on commit 4b22fc9

Please sign in to comment.