Merge branch 'FREESIDE_3_BRANCH' of ssh://git.freeside.biz/home/git/freeside into...
authorChristopher Burger <burgerc@freeside.biz>
Wed, 13 Mar 2019 13:22:42 +0000 (09:22 -0400)
committerChristopher Burger <burgerc@freeside.biz>
Wed, 13 Mar 2019 13:22:42 +0000 (09:22 -0400)
FS/FS/DBI.pm

index c6ff125..8719a58 100644 (file)
@@ -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;