Fix minore
This commit is contained in:
parent
3408a1ae40
commit
e1901880d7
|
@ -133,7 +133,7 @@ if (!empty($query)) {
|
|||
|
||||
// Formattazione HTML
|
||||
if (empty($total['html_format'][$pos]) && !empty($value)) {
|
||||
$value = strip_tags($value);
|
||||
$value = strip_tags($value?:'');
|
||||
}
|
||||
|
||||
// Formattazione automatica
|
||||
|
|
2
log.php
2
log.php
|
@ -80,7 +80,7 @@ foreach ($logs as $log) {
|
|||
<td>'.$log['username'].'</td>
|
||||
<td class="tip" title="'.$created_at->format('d/m/Y H:i:s').'">'.$created_at->diffForHumans().'</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>
|
||||
</tr>';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue