Browse Source

Should really use a persistant DB connection

simond 23 years ago
parent
commit
2eab6ef55a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      functions/db_prefs.php

+ 1 - 1
functions/db_prefs.php

@@ -86,7 +86,7 @@ class dbPrefs {
         if (!empty($prefs_table)) {
             $this->table = $prefs_table;
         }
-        $dbh = DB::connect($prefs_dsn);
+        $dbh = DB::connect($prefs_dsn, true);
 
         if(DB::isError($dbh) || DB::isWarning($dbh)) {
             $this->error = DB::errorMessage($dbh);