projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a05f74b
)
RT# 82942 Fix typo
author
Mitch Jackson
<mitch@freeside.biz>
Tue, 12 Mar 2019 22:42:54 +0000
(18:42 -0400)
committer
Mitch Jackson
<mitch@freeside.biz>
Tue, 12 Mar 2019 22:43:31 +0000
(18:43 -0400)
FS/FS/DBI.pm
patch
|
blob
|
history
diff --git
a/FS/FS/DBI.pm
b/FS/FS/DBI.pm
index
c6ff125
..
8719a58
100644
(file)
--- 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;