There was an error while loading. Please reload this page.
1 parent 3408a1a commit e190188Copy full SHA for e190188
2 files changed
ajax_dataload.php
@@ -133,7 +133,7 @@
133
134
// Formattazione HTML
135
if (empty($total['html_format'][$pos]) && !empty($value)) {
136
- $value = strip_tags($value);
+ $value = strip_tags($value?:'');
137
}
138
139
// Formattazione automatica
log.php
@@ -80,7 +80,7 @@
80
<td>'.$log['username'].'</td>
81
<td class="tip" title="'.$created_at->format('d/m/Y H:i:s').'">'.$created_at->diffForHumans().'</td>
82
<td>'.$log['ip'].'</td>
83
- <td class="user-agent tip" title="'.strip_tags($log['user_agent']).'">'.$log['user_agent'].'</td>
+ <td class="user-agent tip" title="'.strip_tags($log['user_agent']?:'').'">'.$log['user_agent'].'</td>
84
<td><span class="badge badge-'.$type.'">'.$stato.'</span></td>
85
</tr>';
86
0 commit comments