summaryrefslogtreecommitdiffstats
path: root/etc/inc/captiveportal.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-08-30 20:06:17 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-08-30 20:06:17 -0400
commit10370262143ea33f550b6f28885e0a13c031e15c (patch)
tree62345bf22bf94eaf999641d913727d8a9370bf9a /etc/inc/captiveportal.inc
parent6426fb80e140146990d83f0550106bdffb15e2a5 (diff)
downloadpfsense-10370262143ea33f550b6f28885e0a13c031e15c.zip
pfsense-10370262143ea33f550b6f28885e0a13c031e15c.tar.gz
Use enable voucher variable
Diffstat (limited to 'etc/inc/captiveportal.inc')
-rw-r--r--etc/inc/captiveportal.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index 64834fb..1b3fe6f 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -53,7 +53,7 @@ require_once("voucher.inc");
function get_default_captive_portal_html() {
global $config, $g;
// Detect if vouchers are being used and default to the voucher page
- if($config['voucher']) {
+ if(isset($config['voucher']['enable'])) {
$htmltext = <<<EOD
<html>
<body>
OpenPOWER on IntegriCloud