From d282d659a9cbc8aa33b484250a3e03b31e596ff9 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 14 Aug 2007 01:49:38 +0000 Subject: [PATCH] Suppress errors in connecting via MySQLi * DbMySqlI.php: (BSDbMySqlI::_connect): Suppress the errors in our call to mysqli_connect --- DbMySqlI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DbMySqlI.php b/DbMySqlI.php index e0dba3a..4f3fb44 100644 --- a/DbMySqlI.php +++ b/DbMySqlI.php @@ -47,7 +47,7 @@ class BSDbMySqlI extends BSDb */ protected function _connect($server, $user, $password, $database) { - return mysqli_connect($server, $user, $password, $database); + return @mysqli_connect($server, $user, $password, $database); } // ################################################################### -- 2.43.5