summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Jackson <mitch@freeside.biz>2019-03-12 18:42:54 -0400
committerMitch Jackson <mitch@freeside.biz>2019-03-12 18:54:35 -0400
commit6a29166de4ccb8d3be83a407bb0b909b066592e8 (patch)
tree43a30445bb23543b7188a99dadf32774c262b675
parent6ec46a33d291dca6f2800bdbc46a5bfc57bb258d (diff)
RT# 82942 Fix typo
-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;