diff options
Diffstat (limited to 'FS/FS/DBI.pm')
-rw-r--r-- | FS/FS/DBI.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/DBI.pm b/FS/FS/DBI.pm index c6ff125..8719a58 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; |