mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-12-27 07:31:09 +01:00
Fix PHP warning
Fix PHP warning
This commit is contained in:
@@ -133,7 +133,7 @@ class HostapdValidator
|
||||
'max_num_sta' => $post['max_num_sta'],
|
||||
'beacon_interval' => $post['beacon_interval'] ?? null,
|
||||
'disassoc_low_ack' => $post['disassoc_low_ackEnable'] ?? null,
|
||||
'bridge' => $post['bridgedEnable'] ? 'br0' : null,
|
||||
'bridge' => ($post['bridgedEnable'] ?? false) ? 'br0' : null
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<div class="mb-3">
|
||||
<label for="cbx80211w"><?php echo _("802.11w"); ?></label>
|
||||
<i class="fas fa-question-circle text-muted" data-bs-toggle="tooltip" data-bs-placement="auto" title="802.11w extends strong cryptographic protection to a select set of robust management frames, including Deauthentication, Disassociation and certain categories of Action Management frames. Collectively, this is known as Management Frame Protection (MFP)."></i>
|
||||
<?php SelectorOptions('80211w', $arr80211w, $arrConfig['ieee80211w'], 'cbx80211w'); ?>
|
||||
<?php SelectorOptions('80211w', $arr80211w, $arrConfig['ieee80211w'] ?? 0, 'cbx80211w'); ?>
|
||||
</div>
|
||||
|
||||
<label for="txtwpapassphrase"><?php echo _("Pre-shared key (PSK)"); ?></label>
|
||||
|
||||
Reference in New Issue
Block a user