Turns mysqli reporting off

Turns mysqli reporting off to be compatible with PHP versions >= 8.1
This commit is contained in:
Hani Rouatbi
2022-12-03 16:41:57 +01:00
committed by GitHub
parent 87aae0a45b
commit 0c0ab4b9cb

View File

@@ -52,6 +52,7 @@ class KleejaDatabase
$this->dbprefix = $dbprefix;
$this->dbname = $db_name;
mysqli_report(MYSQLI_REPORT_OFF);
$this->connect_id = @mysqli_connect($host, $db_username, $db_password, $db_name, $port);
//no error