Fix minore

This commit is contained in:
valentina 2024-08-30 09:03:52 +02:00
parent 3408a1ae40
commit e1901880d7
2 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,7 @@ if (!empty($query)) {
// Formattazione HTML // Formattazione HTML
if (empty($total['html_format'][$pos]) && !empty($value)) { if (empty($total['html_format'][$pos]) && !empty($value)) {
$value = strip_tags($value); $value = strip_tags($value?:'');
} }
// Formattazione automatica // Formattazione automatica

View File

@ -80,7 +80,7 @@ foreach ($logs as $log) {
<td>'.$log['username'].'</td> <td>'.$log['username'].'</td>
<td class="tip" title="'.$created_at->format('d/m/Y H:i:s').'">'.$created_at->diffForHumans().'</td> <td class="tip" title="'.$created_at->format('d/m/Y H:i:s').'">'.$created_at->diffForHumans().'</td>
<td>'.$log['ip'].'</td> <td>'.$log['ip'].'</td>
<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>
<td><span class="badge badge-'.$type.'">'.$stato.'</span></td> <td><span class="badge badge-'.$type.'">'.$stato.'</span></td>
</tr>'; </tr>';
} }