Skip to content

Commit 3f42615

Browse files
committed
restore MySQL error reporting setting to default
1 parent c6692c3 commit 3f42615

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

npgCore/functions-db-MySQLi.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ function db_connect($config, $errorstop = E_USER_ERROR) {
5555
$er = gettext('"extension not loaded"');
5656
}
5757
error_reporting($er_reporting);
58+
mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT);
5859

5960
if (!is_object($_DB_connection)) {
6061
if ($errorstop) {

0 commit comments

Comments
 (0)