summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-09-25 00:49:59 -0600
committerErik Fonnesbeck <efonnes@gmail.com>2010-09-25 00:49:59 -0600
commite65d1a98b2f6869dfe718731b63581535b50db65 (patch)
tree41be5b7e6b304a162a12e461ccedbef2b804a36c /usr
parent03552507b71a1865e006b5f924dc80a0d7052b32 (diff)
downloadpfsense-e65d1a98b2f6869dfe718731b63581535b50db65.zip
pfsense-e65d1a98b2f6869dfe718731b63581535b50db65.tar.gz
Display the correct state when the new checkbox has been checked.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/services_captiveportal.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_captiveportal.php b/usr/local/www/services_captiveportal.php
index 6c13c87..07e3c1d 100755
--- a/usr/local/www/services_captiveportal.php
+++ b/usr/local/www/services_captiveportal.php
@@ -73,7 +73,7 @@ $pconfig['timeout'] = $config['captiveportal']['timeout'];
$pconfig['idletimeout'] = $config['captiveportal']['idletimeout'];
$pconfig['freelogins_count'] = $config['captiveportal']['freelogins_count'];
$pconfig['freelogins_resettimeout'] = $config['captiveportal']['freelogins_resettimeout'];
-$pconfig['freelogins_updatetimeouts'] = $config['captiveportal']['freelogins_updatetimeouts'];
+$pconfig['freelogins_updatetimeouts'] = isset($config['captiveportal']['freelogins_updatetimeouts']);
$pconfig['enable'] = isset($config['captiveportal']['enable']);
$pconfig['auth_method'] = $config['captiveportal']['auth_method'];
$pconfig['radacct_enable'] = isset($config['captiveportal']['radacct_enable']);
OpenPOWER on IntegriCloud