[*] правка метода под php 8.1

This commit is contained in:
rsgrinko committed 2023-11-23 21:29:10 +03:00
1 parent 0c15ce2ed0
commit 6af2256c49
2 files changed
+3 -2

No files matched your search

@@ -515,7 +515,8 @@
if (is_array($v)) {
$table .= self::arrayToTable($v);
} else {
$table .= '<pre>' . htmlspecialchars($v) . '</pre>';
$v = $v === null ? '<i>NULL</i>' : htmlspecialchars($v);
$table .= '<pre>' . $v . '</pre>';
}
$table .= '</td>';
$table .= '</tr>';