summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/usr/local/www/services_captiveportal_mac.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/local/www/services_captiveportal_mac.php b/src/usr/local/www/services_captiveportal_mac.php
index 1715ee1..8381121 100644
--- a/src/usr/local/www/services_captiveportal_mac.php
+++ b/src/usr/local/www/services_captiveportal_mac.php
@@ -1,4 +1,4 @@
-<?php
+ <?php
/*
services_captiveportal_mac.php
*/
@@ -84,6 +84,7 @@ if (isset($_POST['zone'])) {
if (empty($cpzone) || empty($config['captiveportal'][$cpzone])) {
header("Location: services_captiveportal_zones.php");
exit;
+}
if (!is_array($config['captiveportal'])) {
$config['captiveportal'] = array();
OpenPOWER on IntegriCloud