mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user