mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
system: two dashboard warnings fixed
This commit is contained in:
parent
a256697cbf
commit
7c42dfa319
@ -161,7 +161,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
<?php endif ?>
|
||||
</td>
|
||||
<td style="width:35%; word-break: break-word;">
|
||||
<?= empty($ifinfo['media']) ? htmlspecialchars($ifinfo['cell_mode']) : htmlspecialchars($ifinfo['media']) ?>
|
||||
<?= htmlspecialchars(empty($ifinfo['media']) ? $ifinfo['cell_mode'] ?? '' : $ifinfo['media']) ?>
|
||||
</td>
|
||||
<td style="width:45%; word-break: break-word;">
|
||||
<?= htmlspecialchars($ifinfo['ipaddr']) ?>
|
||||
|
||||
@ -36,7 +36,7 @@ require_once("interfaces.inc");
|
||||
|
||||
$pconfig = $_POST;
|
||||
|
||||
if (is_numeric($pconfig['filterlogentries'])) {
|
||||
if (is_numeric($pconfig['filterlogentries'] ?? null)) {
|
||||
$config['widgets']['filterlogentries'] = $pconfig['filterlogentries'];
|
||||
$config['widgets']['filterlogentriesupdateinterval'] = $pconfig['filterlogentriesupdateinterval'];
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user