PHP/Compat

* remove sources of deprecation warnings. Mostly dynamic creation of object properties.
 * some string function no longer accept null as string
This commit is contained in:
Sarjuuk
2024-07-03 14:55:33 +02:00
parent 05c036bd9f
commit 2bd588045a
12 changed files with 46 additions and 47 deletions

View File

@@ -1144,7 +1144,7 @@ abstract class DbSimple_Database extends DbSimple_LastError
$len = 0;
$values = array();
foreach ($rows[0] as $k=>$v) {
$len += strlen($v);
$len += strlen($v ?? '');
if ($len > $this->MAX_LOG_ROW_LEN) {
break;
}