*sigh*
[freeside.git] / FS / FS / UID.pm
index 5cb5572..f5c4f61 100644 (file)
@@ -78,9 +78,10 @@ sub adminsuidsetup {
 
   croak "Not running uid freeside!" unless checkeuid();
   getsecrets;
+  $dbh->disconnect if $dbh;
   $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 +260,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.6 2001-04-23 09:00:06 ivan Exp $
 
 =head1 BUGS