From 7056117092e76f4ef5a241cb290ae3b3fc853b14 Mon Sep 17 00:00:00 2001 From: simond Date: Sun, 17 Feb 2002 13:48:52 +0000 Subject: [PATCH] Should really use a persistant DB connection git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2454 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/db_prefs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/db_prefs.php b/functions/db_prefs.php index 3d42fe16..1aab90ba 100644 --- a/functions/db_prefs.php +++ b/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); -- 2.25.1