small fix

This commit is contained in:
kremsy 2014-02-24 22:47:35 +01:00 committed by Steffen Schröder
parent c6f19c8797
commit 798053dd14

View File

@ -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);
}