summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2019-03-13 09:22:42 -0400
committerChristopher Burger <burgerc@freeside.biz>2019-03-13 09:22:42 -0400
commit094554b463612e5af4396d5a0fa0cba8e66a11be (patch)
treeae27acebc65e8cc8a0caa9b0ed56b8ad58453215 /FS
parent77ed60f65f8d0ac605ccb3bbc3adfbfba203612d (diff)
parent693a77e85869cf8914d1ba4027b3262aca7353ac (diff)
Merge branch 'FREESIDE_3_BRANCH' of ssh://git.freeside.biz/home/git/freeside into FREESIDE_3_BRANCH
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/DBI.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/DBI.pm b/FS/FS/DBI.pm
index c6ff12561..8719a582f 100644
--- a/FS/FS/DBI.pm
+++ b/FS/FS/DBI.pm
@@ -49,7 +49,7 @@ sub connect {
my $class = shift;
my $dbh = $class->SUPER::connect( @_ );
- if ( $_[0] =~ /^DBI::Pg/ ) {
+ if ( $_[0] =~ /^DBI:Pg/ ) {
$dbh->do('SET client_encoding TO UTF8;')
or die sprintf 'Error setting client_encoding to UTF8: %s', $dbh->errstr;