RT# 82942 Fix typo
authorMitch Jackson <mitch@freeside.biz>
Tue, 12 Mar 2019 22:42:54 +0000 (18:42 -0400)
committerMitch Jackson <mitch@freeside.biz>
Tue, 12 Mar 2019 22:54:35 +0000 (18:54 -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;