projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
77ed60f
)
Merge branch 'FREESIDE_3_BRANCH' of ssh://git.freeside.biz/home/git/freeside into...
author
Christopher Burger
<burgerc@freeside.biz>
Wed, 13 Mar 2019 13:22:42 +0000
(09:22 -0400)
committer
Christopher Burger
<burgerc@freeside.biz>
Wed, 13 Mar 2019 13:22:42 +0000
(09:22 -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;