Removed unnecessary empty string
This commit is contained in:
parent
6a28693add
commit
bff454ffc9
@ -56,7 +56,7 @@ final class Database {
|
||||
$connection = self::connect($host, $user, $password);
|
||||
|
||||
// Check if the connection was successful
|
||||
if ($connection===false) Response::error('' . $connection->connect_error);
|
||||
if ($connection===false) Response::error($connection->connect_error);
|
||||
|
||||
if (self::setCharset($connection)===false) Response::error('Could not set database charset!');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user