From 798053dd14eccba316b9299e761572474f34dd3a Mon Sep 17 00:00:00 2001 From: kremsy Date: Mon, 24 Feb 2014 22:47:35 +0100 Subject: [PATCH] small fix --- application/core/Database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/core/Database.php b/application/core/Database.php index 4082fd39..6c4480ee 100644 --- a/application/core/Database.php +++ b/application/core/Database.php @@ -41,7 +41,7 @@ class Database { $pass = (string) $pass[0]; // Open database connection - $this->mysqli = new \mysqli($host, $user, $pass, null, $port); + $this->mysqli = @new \mysqli($host, $user, $pass, null, $port); if ($this->mysqli->connect_error) { trigger_error($this->mysqli->connect_error, E_USER_ERROR); }