diff --git a/app/Services/Database/Database.php b/app/Services/Database/Database.php index 284a6e5f..3c9a7934 100644 --- a/app/Services/Database/Database.php +++ b/app/Services/Database/Database.php @@ -50,7 +50,7 @@ class Database if ($this->connection->connect_error) throw new \InvalidArgumentException("Could not connect to MySQL database. Check your configuration:". - $this->connection->connect_error, $this->connection->connect_errno, true); + $this->connection->connect_error, $this->connection->connect_errno); $this->connection->query("SET names 'utf8'"); }