summaryrefslogtreecommitdiffstats
path: root/etc/inc/captiveportal.inc
diff options
context:
space:
mode:
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 c403252..c27eac0 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