#11171 Fix historical database with php 8.1

This commit is contained in:
Daniel Maya 2023-05-10 15:15:03 +02:00
parent 476b38c221
commit d26ae96670
1 changed files with 3 additions and 0 deletions

View File

@ -156,6 +156,9 @@ final class DBMaintainer
return true;
}
// Problem with php 8.1.
mysqli_report(MYSQLI_REPORT_OFF);
$link = mysqli_init();
$link->options(MYSQLI_OPT_CONNECT_TIMEOUT, 2);
$rc = mysqli_real_connect(