mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-07-09 19:37:41 +02:00
Fix php warning: define $firewallManaged
This commit is contained in:
parent
6d6bacd6a1
commit
c987d2800d
@ -77,7 +77,7 @@ function DisplayDashboard(): void
|
||||
if ($vpn) {
|
||||
$vpnManaged = $dashboard->getVpnManged($vpn);
|
||||
}
|
||||
$firewallStatus = "";
|
||||
$firewallManaged = $firewallStatus = "";
|
||||
$firewallInstalled = array_filter($plugins, fn($p) => str_ends_with($p, 'Firewall')) ? true : false;
|
||||
if (!$firewallInstalled) {
|
||||
$firewallUnavailable = '<i class="fas fa-slash fa-stack-1x"></i>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user