summaryrefslogtreecommitdiff
path: root/FS/FS/UID.pm
diff options
context:
space:
mode:
authorivan <ivan>2001-02-21 01:45:07 +0000
committerivan <ivan>2001-02-21 01:45:07 +0000
commitbcf7e6f16db211da681f464ec3f78746f675f449 (patch)
treec15a2489736afbada02f7e3c1480c8613b4b4a62 /FS/FS/UID.pm
parent6ce7cc58f12b76532ca3c4944618902c1718aa48 (diff)
DBI autocommit needs 0, not true string 'false', duh
Diffstat (limited to 'FS/FS/UID.pm')
-rw-r--r--FS/FS/UID.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/FS/FS/UID.pm b/FS/FS/UID.pm
index 5cb5572af..1902eef4b 100644
--- a/FS/FS/UID.pm
+++ b/FS/FS/UID.pm
@@ -79,8 +79,8 @@ sub adminsuidsetup {
croak "Not running uid freeside!" unless checkeuid();
getsecrets;
$dbh = DBI->connect($datasrc,$db_user,$db_pass, {
- 'AutoCommit' => 'false',
- 'ChopBlanks' => 'true',
+ 'AutoCommit' => 0,
+ 'ChopBlanks' => 1,
} ) or die "DBI->connect error: $DBI::errstr\n";
swapuid(); #go to non-privledged user if running setuid freeside
@@ -259,7 +259,7 @@ coderef into the hash %FS::UID::callback :
=head1 VERSION
-$Id: UID.pm,v 1.4 2001-02-03 14:03:49 ivan Exp $
+$Id: UID.pm,v 1.5 2001-02-21 01:45:07 ivan Exp $
=head1 BUGS