mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-25 00:50:29 +00:00
Fix: pass required param
This commit is contained in:
parent
3c4cdefc56
commit
4bb2597bff
1 changed files with 2 additions and 2 deletions
|
@ -246,7 +246,7 @@ function SaveHostAPDConfig($wpa_array, $enc_types, $modes, $interfaces, $status)
|
|||
$_POST['max_num_sta'] = $_POST['max_num_sta'] < 1 ? null : $_POST['max_num_sta'];
|
||||
|
||||
if ($good_input) {
|
||||
$return = updateHostapdConfig();
|
||||
$return = updateHostapdConfig($ignore_broadcast_ssid);
|
||||
|
||||
// Fetch dhcp-range, lease time from system config
|
||||
$syscfg = parse_ini_file(RASPI_DNSMASQ_PREFIX.$ap_iface.'.conf', false, INI_SCANNER_RAW);
|
||||
|
@ -357,7 +357,7 @@ function SaveHostAPDConfig($wpa_array, $enc_types, $modes, $interfaces, $status)
|
|||
*
|
||||
* @return boolean $result
|
||||
*/
|
||||
function updateHostapdConfig()
|
||||
function updateHostapdConfig($ignore_broadcast_ssid)
|
||||
{
|
||||
// Fixed values
|
||||
$country_code = $_POST['country_code'];
|
||||
|
|
Loading…
Reference in a new issue